Skip to content

Commit 647c07a

Browse files
committed
Fixing test dependencies
1 parent 91e39e5 commit 647c07a

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/code_quality.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
testing:
11-
name: Code Quality Check
10+
flake8:
11+
name: Flake8
1212

1313
runs-on: ubuntu-latest
1414

@@ -22,26 +22,22 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install -r test-requirements.txt
25-
pip install flake8 pytest
2625
- name: Flake8
2726
run: |
2827
# stop the build if there are Python syntax errors or undefined names
2928
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3029
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3130
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
32-
- name: Pytest
33-
run: |
34-
pytest
3531
36-
compatibilityCheck:
37-
name: Compatibility Check
32+
tests:
33+
name: Tests
3834

3935
runs-on: ubuntu-latest
4036

4137
strategy:
42-
max-parallel: 4
38+
max-parallel: 3
4339
matrix:
44-
python-version: [3.6, 3.7, 3.8, 3.10]
40+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
4541

4642
steps:
4743
- name: Set up Python ${{ matrix.python-version }}
@@ -54,7 +50,6 @@ jobs:
5450
run: |
5551
python -m pip install --upgrade pip
5652
pip install -r test-requirements.txt
57-
pip install pytest
5853
- name: Run tests
5954
run: |
6055
pytest

test-requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ wheel
22
flask==1.0
33
connexion[swagger-ui]
44
quart
5-
sanic
5+
sanic
6+
flake8
7+
pytest
8+
-e .

0 commit comments

Comments
 (0)