diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bfd1086..295d5ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,24 +14,39 @@ jobs: fail-fast: false matrix: runner: [ubuntu-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-2.7, pypy-3.7] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", pypy-2.7, pypy-3.8, pypy-3.10] include: - - python-version: "2.7" - runner: ubuntu-20.04 - python-version: "3.6" runner: ubuntu-20.04 + eol: true + - python-version: "3.7" + eol: true + - python-version: pypy-2.7 + eol: true steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + id: setup-python with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + update-environment: ${{ ! matrix.eol }} + + - name: Install tox4 + if: ${{ ! matrix.eol }} run: | python -m pip install --upgrade pip setuptools pip install tox tox-gh-actions + - name: Install tox3 + if: ${{ matrix.eol }} + run: | + python -m pip install --upgrade pip setuptools + pip install tox tox-gh-actions + echo "PATH=${PATH}:${{ steps.setup-python.outputs.python-path }}" >> "$GITHUB_ENV" + - name: Test with tox run: tox + - uses: actions/upload-artifact@v3 with: name: coverage-data