Skip to content

Commit 61144e1

Browse files
Update python-package.yml
1 parent c862b68 commit 61144e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
python -m pip install flake8 pytest
31-
if exist requirements.txt (pip install -r requirements.txt)
31+
if (Test-Path requirements.txt) { pip install -r requirements.txt }
3232
- name: Lint with flake8
3333
run: |
3434
# stop the build if there are Python syntax errors or undefined names
@@ -37,4 +37,4 @@ jobs:
3737
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3838
- name: Test with pytest
3939
run: |
40-
pytest
40+
python -m pytest -v # Added -v for verbose output

0 commit comments

Comments
 (0)