Skip to content

Commit

Permalink
use pytest-xdist in external tests to speed them up
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton authored and mkolopanis committed Feb 4, 2022
1 parent 5da9d49 commit f2b60f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/azure-piplines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cd hera_cal
pip install --no-deps .
mkdir test-reports
python -m pytest hera_cal --junitxml=test-reports/xunit.xml
python -m pytest hera_cal -n auto --junitxml=test-reports/xunit.xml
displayName: run hera_cal tests
- job: hera_qm
Expand All @@ -48,5 +48,5 @@ jobs:
cd hera_qm
pip install --no-deps .
mkdir test-reports
python -m pytest hera_qm --junitxml=test-reports/xunit.xml
python -m pytest hera_qm -n auto --junitxml=test-reports/xunit.xml
displayName: run hera_qm tests
1 change: 1 addition & 0 deletions ci/hera_cal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ dependencies:
- git+https://github.com/HERA-Team/hera_sim.git
- pyuvsim
- pyradiosky
- pytest-xdist
1 change: 1 addition & 0 deletions ci/hera_qm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ dependencies:
- git+https://github.com/HERA-Team/omnical.git
- git+https://github.com/HERA-Team/uvtools.git
- git+https://github.com/HERA-Team/hera_cal.git
- pytest-xdist

0 comments on commit f2b60f7

Please sign in to comment.