Skip to content

Commit

Permalink
Fix netcdf issue for Hamtide tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Jun 21, 2024
1 parent 2263910 commit 8c411db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/quick_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ jobs:
sudo apt install libhdf5-dev
sudo apt install libnetcdf-dev
pip install ".[testing]"
python -m pip install --upgrade --force-reinstall --no-deps --no-cache-dir netcdf4 --no-binary netcdf4
- name: run tests
run: pytest --numprocesses auto
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ jobs:
brew install netcdf
if: runner.os == 'macOS'
- name: install repo
run: pip install ".[testing]"
run: |
pip install ".[testing]"
python -m pip install --upgrade --force-reinstall --no-deps --no-cache-dir netcdf4 --no-binary netcdf4
- name: run tests with coverage
run: pytest --numprocesses auto --cov . --cov-report xml:coverage.xml
- name: show coverage report
Expand Down

0 comments on commit 8c411db

Please sign in to comment.