Skip to content

Commit

Permalink
update flopy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jun 27, 2023
1 parent b0b005f commit f6f10a3
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,17 @@ jobs:
pip install .
pip install ".[test]"
- name: Cache modflow6 examples
id: cache-examples
uses: actions/cache@v3
with:
path: modflow6-examples/examples
key: modflow6-examples-${{ hashFiles('modflow6-examples/data/**') }}

- name: Install extra Python packages
if: steps.cache-examples.outputs.cache-hit != 'true'
working-directory: modflow6-examples/etc
run: |
pip install -r requirements.pip.txt
pip install -r requirements.usgs.txt
- name: Update flopy
working-directory: modflow6/autotest
run: python update_flopy.py

- name: Build modflow6 example models
if: steps.cache-examples.outputs.cache-hit != 'true'
working-directory: modflow6-examples/etc
run: python ci_build_files.py

Expand All @@ -167,6 +162,7 @@ jobs:
BIN_PATH: ~/.local/bin/modflow
REPOS_PATH: ${{ github.workspace }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_USER: "MODFLOW-USGS"
run: pytest -v -n auto --durations 0 --ignore modflow_devtools/test/test_download.py

- name: Run network-dependent tests
Expand All @@ -179,4 +175,5 @@ jobs:
BIN_PATH: ~/.local/bin/modflow
REPOS_PATH: ${{ github.workspace }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_USER: "MODFLOW-USGS"
run: pytest -v -n auto --durations 0 modflow_devtools/test/test_download.py

0 comments on commit f6f10a3

Please # to comment.