Skip to content

Commit 18dae37

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 18dae37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ 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
248+
sudo pip install distro pytest pytest-cov
249+
sudo pip install --upgrade packaging
249250
pip install -r linux_requirements.txt
250251
sudo pip uninstall importlib_metadata
251252
sudo pip install importlib_metadata --force-reinstall
@@ -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)