8000 Run Python 3.5 and 3.6 GitHub tests on older Ubuntu · unho/python-stdnum@4f8155c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f8155c

Browse files
committed
Run Python 3.5 and 3.6 GitHub tests on older Ubuntu
The ubuntu-latest now points to ubuntu-22.04 instead of ubuntu-20.04 before. This also switches the PyPy version to test with to 3.9.
1 parent 74d854f commit 4f8155c

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,28 @@ on:
99
- cron: '9 0 * * 1'
1010

1111
jobs:
12+
test_legacy:
13+
runs-on: ubuntu-20.04
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
python-version: [3.5, 3.6]
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: python -m pip install --upgrade pip tox
26+
- name: Run tox
27+
run: tox -e "$(echo py${{ matrix.python-version }} | sed -e 's/[.]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
1228
test:
1329
runs-on: ubuntu-latest
1430
strategy:
1531
fail-fast: false
1632
matrix:
17-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', pypy2.7, pypy3.6]
33+
python-version: [2.7, 3.7, 3.8, 3.9, '3.10', pypy2.7, pypy3.9]
1834
steps:
1935
- uses: actions/checkout@v3
2036
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)
0