Skip to content

Commit

Permalink
ci(docs): install exes to build examples, fix pixi usage (#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Apr 8, 2024
1 parent d928fe4 commit fcf8e39
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,20 @@ jobs:
working-directory: modflow6/autotest
run: pixi run update-flopy

# the example models also need mf2005, triangle and gridgen
- name: Install extra executables
if: steps.cache-examples.outputs.cache-hit != 'true'
uses: modflowpy/install-modflow-action@v1
with:
subset: mf2005,triangle,gridgen

- name: Build example models
if: steps.cache-examples.outputs.cache-hit != 'true'
working-directory: modflow6-examples/autotest
working-directory: modflow6
shell: pixi run bash -e {0}
run: |
pixi run pytest -v -n auto test_scripts.py --init
cd ../modflow6-examples/autotest
pytest -v -n auto test_scripts.py --init
ls -lh ../examples/
- name: Run benchmarks
Expand Down

0 comments on commit fcf8e39

Please sign in to comment.