Skip to content

Commit

Permalink
ci(ubuntu/ifort): reclaim disk, copy libmf6.so, skip ex-gwe-radial (#…
Browse files Browse the repository at this point in the history
…1980)

* The Intel test job can run out of disk space on Ubuntu. Delete some unnecessary things baked into the runner image.
* Copy libmf6.so with the mf6 executable into ~/.local/bin/modflow before running example tests, previously we neglected to do this so the shared object installed from the executables distribution was being used.
* Skip ex-gwe-radial when running example tests with Intel Fortran for now, pending reduction in memory use. This example is very memory intensive, this seems to be the cause of the crash.
  • Loading branch information
wpbonelli authored Aug 14, 2024
1 parent 54ff2c6 commit f18f238
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,18 @@ jobs:
shell: bash
steps:

- name: Free disk space (Ubuntu)
if: runner.os == 'Linux'
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Checkout MF6
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -461,9 +473,11 @@ jobs:
working-directory: modflow6
shell: pixi run bash -e {0}
run: |
cp bin/mf6 $(which mf6)
cp bin/mf6 ~/.local/bin/modflow/
cp bin/libmf6.so ~/.local/bin/modflow/
cd ../modflow6-examples/autotest
pytest -v -n auto test_scripts.py
# todo reinstate ex-gwe-radial once memory use reduced
pytest -v -n auto test_scripts.py -k "not gwe-radial"
- name: Upload failed test output
if: failure()
Expand Down

0 comments on commit f18f238

Please sign in to comment.