name: ci on: push: pull_request: jobs: test-and-build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install uv build uv sync --extra x11 - name: Compile run: python -m py_compile src/*.py tests/*.py - name: Unit tests run: python -m unittest discover -s tests -p 'test_*.py' - name: Build artifacts run: python -m build