diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index b924aeb..26ca376 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -1,6 +1,3 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - name: Unit tests on: @@ -12,15 +9,18 @@ permissions: jobs: build: - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"] steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 + - uses: actions/checkout@v6 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install package run: | python -m pip install --upgrade pip @@ -29,4 +29,4 @@ jobs: - name: Test with pytest run: | cd ./tests - pytest --sanity + pytest --sanity -W error::DeprecationWarning