Skip to content

Commit

Permalink
flail: attempt testing EOL pythons in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dairiki committed Sep 4, 2024
1 parent cdd9035 commit 8ba2c68
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ba2c68

Please sign in to comment.