Skip to content

Commit

Permalink
Append serial cov to parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
GateBuilder committed Jun 18, 2020
1 parent a8e974f commit dca01f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ jobs:
source activate qcodes &&
cd qcodes &&
pytest -m "not serial" --junitxml=test-parallel-results.xml --cov=qcodes --cov-report=xml --cov-config=.coveragerc &&
pytest -n 1 -m serial --junitxml=test-serial-results.xml --cov=qcodes --cov-report=xml --cov-config=.coveragerc
pytest -n 1 -m serial --junitxml=test-serial-results.xml --cov-append --cov=qcodes --cov-report=xml --cov-config=.coveragerc
displayName: "Pytest on Windows"
condition: and(succeededOrFailed(), eq( variables['Agent.OS'], 'Windows_NT' ))
- bash: |
source activate qcodes &&
cd qcodes &&
xvfb-run --server-args="-screen 0 1024x768x24" \
pytest -m "not serial" --junitxml=test-parallel-results.xml --cov=qcodes --cov-report=xml --cov-config=.coveragerc &&
pytest -n 1 -m serial --junitxml=test-serial-results.xml --cov=qcodes --cov-report=xml --cov-config=.coveragerc
pytest -n 1 -m serial --junitxml=test-serial-results.xml --cov-append --cov=qcodes --cov-report=xml --cov-config=.coveragerc
displayName: "Pytest on Linux"
condition: and(succeededOrFailed(), eq( variables['Agent.OS'], 'Linux' ))
- task: PublishTestResults@2
Expand Down

0 comments on commit dca01f8

Please sign in to comment.