Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7169:5cbe5f2a636b
Add --durations=20 for detecting perf changes.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 25 Feb 2023 17:11:13 -0500 |
| parents | cc49ac11850f |
| children | 4e3abaa16296 |
comparison
equal
deleted
inserted
replaced
| 7168:43a0c2901524 | 7169:5cbe5f2a636b |
|---|---|
| 203 # Run the tests using pytest with test files in tests directory. | 203 # Run the tests using pytest with test files in tests directory. |
| 204 - name: Run tests | 204 - name: Run tests |
| 205 run: | | 205 run: | |
| 206 if [[ "$PYTHON_VERSION" != "2."* ]]; then | 206 if [[ "$PYTHON_VERSION" != "2."* ]]; then |
| 207 pytest -r a \ | 207 pytest -r a \ |
| 208 --durations=20 \ | |
| 208 -W default \ | 209 -W default \ |
| 209 -W "ignore:SelectableGroups:DeprecationWarning" \ | 210 -W "ignore:SelectableGroups:DeprecationWarning" \ |
| 210 -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \ | 211 -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \ |
| 211 -W "ignore:'U' mode::docutils.io" \ | 212 -W "ignore:'U' mode::docutils.io" \ |
| 212 -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \ | 213 -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \ |
