Skip to content

Commit e9abe71

Browse files
authored
Report pytest durations (#189)
1 parent 067c36d commit e9abe71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
set -e
5050
source "${HOME}/conda/etc/profile.d/conda.sh"
5151
conda activate bioemu
52-
coverage run --source=bioemu -m pytest tests/
52+
coverage run --source=bioemu -m pytest tests/ --durations=20
5353
coverage xml # produces coverage.xml file
5454
coverage html # produces htmlcov directory
5555
- name: Upload code coverage report
@@ -69,4 +69,4 @@ jobs:
6969
env:
7070
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171
PR_NUMBER: ${{ github.event.number }}
72-
continue-on-error: true # workflow triggered by PRs from external forks cannot comment
72+
continue-on-error: true # workflow triggered by PRs from external forks cannot comment

0 commit comments

Comments
 (0)