Skip to content

Commit b6c61ee

Browse files
committed
[.github/workflows/main.yml] Python 3.6 workaround (supports Linux only until my issue is resolved actions/setup-python#544 )
1 parent ec85ae8 commit b6c61ee

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/main.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,30 @@ on:
1010
- reopened
1111

1212
jobs:
13+
test_3_6:
14+
name: Linux 3.6
15+
runs-on: ubuntu-20.04
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python 3.6
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: 3.6
22+
architecture: x64
23+
- name: install_dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install --upgrade setuptools wheel
27+
pip install -r requirements.txt
28+
- name: Test with unittest
29+
run: |
30+
python setup.py test
1331
test:
1432
name: ${{ matrix.os.name }} ${{ matrix.python-version }}
1533
runs-on: ${{ matrix.os.runs-on }}
1634
strategy:
1735
matrix:
18-
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
36+
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
1937
os:
2038
- name: Linux
2139
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)