Skip to content

Commit

Permalink
Added the -v flag to pytest to detect where a test run hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Nov 13, 2023
1 parent 3c6a24a commit c00efb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: pip install -e .[test]
- name: Test with pytest
run: |
coverage run -m pytest
coverage run -m pytest -v
coverage xml
- name: Upload Coverage
uses: coverallsapp/github-action@v2
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Install the project and its dependencies
run: pip install -e .[test]
- name: Test with pytest
run: pytest
run: pytest -v

test-others:
strategy:
Expand All @@ -72,7 +72,7 @@ jobs:
run: pip install -e .[test]
- name: Test with pytest
run: |
coverage run -m pytest -m "not external_service"
coverage run -m pytest -v -m "not external_service"
coverage xml
- name: Upload Coverage
uses: coverallsapp/github-action@v2
Expand Down

0 comments on commit c00efb0

Please sign in to comment.