Skip to content

Commit 90d9e6b

Browse files
committed
Add legacy job to CI for Python 3.6 and 3.7 testing on ubuntu-22.04
1 parent 2125854 commit 90d9e6b

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,29 @@ name: Python tests
33
on: [push, pull_request]
44

55
jobs:
6-
build:
6+
legacy:
7+
name: Test on Python ${{ matrix.python-version }}
8+
runs-on: ubuntu-22.04
9+
strategy:
10+
matrix:
11+
python-version: ['3.6', '3.7']
12+
container:
13+
image: python:${{ matrix.python-version }}
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Install dependencies & test
17+
run: |
18+
pip install -r requirements.txt \
19+
-r requirements.dev.txt
20+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
21+
pytest -v -n auto
22+
modern:
23+
name: Test on Python ${{ matrix.python-version }}
724
runs-on: ubuntu-22.04
825
strategy:
926
max-parallel: 4
1027
matrix:
11-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
28+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1229
steps:
1330
- uses: actions/checkout@v3
1431
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)