diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 429780b..afaf70f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,11 +6,20 @@ on: [push] jobs: run_tests: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} - name: Set up Python uses: actions/setup-python@v4 - name: Install tox run: pip install tox - name: Use tox to run test suite - run: tox run + run: python -m tox -f py$(echo ${{ matrix.python-version }} | tr -d .)