name: tests on: push: branches: [main] pull_request: jobs: pytest: runs-on: docker container: image: python:3.12-slim steps: - uses: actions/checkout@v4 - name: Install package + test deps run: pip install --no-cache-dir -e '.[test]' - name: Run pytest run: pytest -v