Skip to content

Commit 86f80bc

Browse files
committed
Revert "Experiment: move Python environment list from tox into GitHub Actions matrix strategy"
This reverts commit 8dee9f0.
1 parent 8040d95 commit 86f80bc

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.github/workflows/python-tox.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,31 @@ jobs:
55
# Credit: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012
66
if: github.event.push || github.event.pull_request.head.repo.full_name != github.repository
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
python: [2.7, 3.5, 3.6, 3.7, 3.8, pypy-2.7, pypy3
118
steps:
129
- uses: actions/checkout@v2
1310
with:
1411
submodules: true
1512
- uses: actions/setup-python@v2
1613
with:
17-
python-version: ${{ matrix.python }}
14+
python-version: 2.7
15+
- uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.5
18+
- uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.6
21+
- uses: actions/setup-python@v2
22+
with:
23+
python-version: 3.7
24+
- uses: actions/setup-python@v2
25+
with:
26+
python-version: 3.8
27+
- uses: actions/setup-python@v2
28+
with:
29+
python-version: pypy-2.7
30+
- uses: actions/setup-python@v2
31+
with:
32+
python-version: pypy3
1833
- run: pip install tox
1934
- run: tox --parallel
2035
env:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py-{base,six19,optional}
2+
envlist = py{27,35,36,37,38,py,py3}-{base,six19,optional}
33

44
[testenv]
55
parallel_show_output = True

0 commit comments

Comments
 (0)