diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7c5212b..67655cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,16 +11,20 @@ permissions: jobs: tests: - name: Python tests + name: Python tests (${{ matrix.python-version }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} - name: Install test dependencies run: python -m pip install pytest - name: Run tests - run: pytest -q tests/ + run: python -m pytest -q tests/