Skip to content

Commit

Permalink
skip mpi in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchengtkc committed May 8, 2024
1 parent 46a7131 commit a4f22e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,5 @@ jobs:
- name: Test with pytest
run: |
#!/bin/bash set -e -o pipefail
poetry run pytest --cov-report=term-missing --ignore=tests/warmth3d --cov=warmth tests/ | tee pytest-coverage.txt
- name: Comment coverage
if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
uses: coroo/[email protected]
with:
pytest-coverage: pytest-coverage.txt
poetry run pytest --cov-report=term-missing --ignore=tests/warmth3d --cov=warmth tests/
2 changes: 1 addition & 1 deletion tests/test_from_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@



model.simulator.run(save=False,purge=True)
model.simulator.run(save=False,purge=True,use_mpi=False)

for i in model.builder.iter_node():
if i is not False:
Expand Down

0 comments on commit a4f22e5

Please sign in to comment.