Skip to content

Commit

Permalink
Fix GitHub action for older Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Jan 18, 2025
1 parent 233df17 commit 9d915b2
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,31 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10']

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "tox>=3.28,<5" "tox-gh-actions>=3.2,<4"
- name: Run unit tests with tox
run: tox

tests-old:
name: 🧪 Tests (older Python versions)
runs-on: ubuntu-22.04

strategy:
matrix:
python-version: ['3.7', '3.8']

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 9d915b2

Please sign in to comment.