Skip to content

Commit 12c56c6

Browse files
committed
Add --durations=20 for detecting perf changes.
1 parent 48d109e commit 12c56c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ jobs:
205205
run: |
206206
if [[ "$PYTHON_VERSION" != "2."* ]]; then
207207
pytest -r a \
208+
--durations=20 \
208209
-W default \
209210
-W "ignore:SelectableGroups:DeprecationWarning" \
210211
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ script:
151151
- export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH
152152
- if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then
153153
py.test -r a
154+
--durations=20
154155
-W default
155156
-W "ignore:SelectableGroups:DeprecationWarning"
156157
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"

0 commit comments

Comments
 (0)