Skip to content

Commit b5df5e9

Browse files
committed
Update run-unit-tests.yml
Moved python 3.6 to its own job since it does not run on 'ubunto-latest'. See ongoing issue: actions/setup-python#544
1 parent f338e45 commit b5df5e9

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/run-unit-tests.yml

+24-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
19+
python-version: [3.7, 3.8, 3.9, "3.10"]
2020
os: [ubuntu-latest, macOS-latest, windows-latest ]
2121

2222
steps:
@@ -33,3 +33,26 @@ jobs:
3333
- name: Test with pytest
3434
run: |
3535
pytest
36+
37+
build-python-legacy:
38+
runs-on: ${{ matrix.os }}
39+
strategy:
40+
fail-fast: false
41+
matrix:
42+
python-version: [3.6]
43+
os: [ubuntu-20.04, macOS-latest, windows-latest ]
44+
45+
steps:
46+
- uses: actions/checkout@v2
47+
- name: Set up Python ${{ matrix.python-version }}
48+
uses: actions/setup-python@v2
49+
with:
50+
python-version: ${{ matrix.python-version }}
51+
- name: Install dependencies
52+
run: |
53+
python -m pip install --upgrade pip
54+
pip install -r requirements.txt
55+
pip install -r test_requirements.txt
56+
- name: Test with pytest
57+
run: |
58+
pytest

0 commit comments

Comments
 (0)