Skip to content

Commit 6ece6d0

Browse files
authored
rename workflow (siplify) + add the --durations flag for pytest (#201)
1 parent f520442 commit 6ece6d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests+artifacts+pypi.yml renamed to .github/workflows/tests+pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: tests+artifacts+pypi
1+
name: tests+pypi
22

33
defaults:
44
run:
@@ -26,7 +26,7 @@ jobs:
2626
- run: DEBUG=1 VERBOSE=1 pip install --verbose -e .
2727
- env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
run: pytest -v -s -We -p no:unraisableexception tests/test_todos_annotated.py
29+
run: pytest --durations=10 -v -s -We -p no:unraisableexception tests/test_todos_annotated.py
3030

3131
build:
3232
needs: [todos_annotated_and_debug_build_ok]
@@ -108,7 +108,7 @@ jobs:
108108
- run: |
109109
cd tests
110110
python -c "import PyPartMC"
111-
pytest -v -s -We -p no:unraisableexception -k 'not test_todos_annotated' .
111+
pytest --durations=10 -v -s -We -p no:unraisableexception -k 'not test_todos_annotated' .
112112
113113
### uncomment to gain ssh access in case of failure
114114
# - if: ${{ failure() }}

0 commit comments

Comments
 (0)