Skip to content

Commit

Permalink
update pytest to have parallelization
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Jun 7, 2024
1 parent 8dd8ccd commit cd5e9b1
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
CMR_USER: ${{ secrets.CMR_USER }}
CMR_PASS: ${{ secrets.CMR_PASS }}
run: |
poetry run pytest verify_collection.py --env ${{ matrix.environment }} --regression --junitxml=$GITHUB_WORKSPACE/test-results/${{ matrix.environment }}_test_report.xml || true
poetry run pytest -n 10 verify_collection.py --env ${{ matrix.environment }} --regression --junitxml=$GITHUB_WORKSPACE/test-results/${{ matrix.environment }}_test_report.xml || true
- name: Run Create Issues Script
working-directory: tests
Expand Down
50 changes: 36 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ xarray = "^2024.5.0"
cf-xarray = "^0.9.1"
l2ss-py = "^2.4.0"
pygithub = "^2.2.0"
pytest-xdist = "^3.6.1"

[tool.poetry.group.dev.dependencies]
pytest = "^8.2.1"
Expand Down

0 comments on commit cd5e9b1

Please sign in to comment.