Skip to content

Commit 487c281

Browse files
authored
Install multiple versions of Python in a single job
1 parent cab996a commit 487c281

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/tox.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ jobs:
77
# max-parallel: 4
88
matrix:
99
os: [ubuntu-latest] # [macos-latest, ubuntu-latest, windows-latest]
10-
python: ['3.7', '3.8', '3.9', '3.10', '3.11'] # '2.7' tests fail
10+
# python: ['3.7', '3.8', '3.9', '3.10', '3.11'] # '2.7' tests fail
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-python@v4
1515
with:
16-
python-version: ${{ matrix.python }}
16+
python-version: |
17+
'3.7'
18+
'3.8'
19+
'3.9'
20+
'3.10'
21+
'3.11'
22+
# python-version: ${{ matrix.python }}
1723
- run: pip install --upgrade pip
1824
- run: pip install tox
19-
- run: tox -e py
25+
- run: tox

0 commit comments

Comments
 (0)