Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add durations of the 10 slowest tests on travis and Azure pipelines #1297

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ script:
pip uninstall -y qcodes
pip install .
- cd qcodes
- py.test --cov=qcodes --cov-report xml --cov-config=.coveragerc
- py.test --cov=qcodes --cov-report xml --cov-config=.coveragerc --durations=20
- cd ..
- mypy qcodes
# run benchmarks to make sure they are correct
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- script: |
CALL activate qcodes
cd qcodes
pytest --junitxml=test-results.xml --cov=qcodes --cov-report=xml --cov-report=html --cov-config=.coveragerc
pytest --junitxml=test-results.xml --cov=qcodes --cov-report=xml --cov-report=html --cov-config=.coveragerc --durations=20
displayName: "Pytest"
- task: PublishTestResults@1
condition: always() # this step will always run, even if the pipeline is cancelled
Expand Down