Skip to content

Commit

Permalink
more updates to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsen-usgs committed Aug 21, 2024
1 parent 3bfbae4 commit 166d8b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,22 +199,29 @@ jobs:
pip install git+https://[email protected]/modflowpy/flopy@develop
pip install .[test]
- name: Install modflow6 nightly build
uses: modflowpy/install-modflow-action@v1
with:
path: ${{ github.workspace }}/autotest
repo: modflow6-nightly-build

- name: update flopy for mf6-examples
run: |
get-modflow :flopy
python -m flopy.mf6.utils.generate_classes --ref develop --no-backup
- name: Install modflow6 for modflow6-examples
uses: modflowpy/install-modflow-action@v1
with:
path: ${{ github.workspace }}/modflow6-examples/autotest

- name: Build mf6-examples
working-directory: modflow6-examples/autotest
run: |
pytest -v -n=auto --init test_scripts.py
- name: Install modflow6 nightly build
uses: modflowpy/install-modflow-action@v1
with:
path: ${{ github.workspace }}/autotest
repo: modflow6-nightly-build

- name: Run autotests
working-directory: ./autotest
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion autotest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def pytest_generate_tests(metafunc):
mf6_examples_path = get_mf6_examples_path()

# grouping...
exclude = ["ex-gwt-gwtgwt-mt3dms-p10", "ex-prt-mp7-p02", "ex-prt-mp7-p04"]
exclude = ["ex-gwt-gwtgwt-mt3dms-p10", "mp7-p02", "mp7-p04"]
namfiles = [
str(p)
for p in mf6_examples_path.rglob("mfsim.nam")
Expand Down

0 comments on commit 166d8b6

Please sign in to comment.