Skip to content

Commit 08548da

Browse files
committed
Add arg to pytest to check all files, fix dependency issue
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
1 parent be74600 commit 08548da

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ jobs:
245245
run: |
246246
sudo apt-get update -q
247247
sudo apt-get install -qqy dkms nasm python3-setuptools
248-
pip install distro pytest pytest-cov
249-
pip install -r linux_requirements.txt
248+
python -m pip install distro pytest pytest-cov
249+
python -m pip install --upgrade packaging
250+
python -m pip install -r linux_requirements.txt
250251
sudo pip uninstall importlib_metadata
251252
sudo pip install importlib_metadata --force-reinstall
252253
sudo pip install -r linux_requirements.txt
@@ -270,7 +271,7 @@ jobs:
270271

271272
- name: Run Python pytest
272273
run: |
273-
python -m pytest --cov --cov-report=term-missing --cov-fail-under="${{ env.CODE_COVERAGE_REQ }}"
274+
python -m pytest --cov . --cov-report=term-missing --cov-fail-under="${{ env.CODE_COVERAGE_REQ }}"
274275
275276
- name: Run xml cfg checker
276277
run: |

0 commit comments

Comments
 (0)