Skip to content

Restructure to UV package with modular architecture, preview, extended characters, unified CI/CD, and comprehensive documentation #3

Restructure to UV package with modular architecture, preview, extended characters, unified CI/CD, and comprehensive documentation

Restructure to UV package with modular architecture, preview, extended characters, unified CI/CD, and comprehensive documentation #3

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
lint-build-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest build flake8
pip install -e .
- name: Lint with flake8
run: |
# Stop the build if there are Python syntax errors or undefined names
flake8 github_artist --count --select=E9,F63,F7,F82 --show-source --statistics
# Treat all other errors as warnings
flake8 github_artist --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Build package
run: |
python -m build
- name: Run tests
run: |
pytest tests/ -v