Skip to content

Commit

Permalink
debug ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Nov 11, 2023
1 parent cdd5eb8 commit 85ccba1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -86,18 +86,18 @@ jobs:
steps:

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: modflow-devtools

- name: Checkout modflow6
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: MODFLOW-USGS/modflow6
path: modflow6

- name: Checkout modflow6 examples
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: MODFLOW-USGS/modflow6-examples
path: modflow6-examples
Expand All @@ -113,7 +113,6 @@ jobs:
with:
repository: MODFLOW-USGS/modflow6-largetestmodels
path: modflow6-largetestmodels
token: ${{ github.token }}

- name: Install executables
uses: modflowpy/install-modflow-action@v1
Expand All @@ -128,10 +127,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: 'pip'
cache-dependency-path: |
modflow-devtools/pyproject.toml
modflow6-examples/etc/requirements*.txt

- name: Install Python packages
working-directory: modflow-devtools
Expand Down Expand Up @@ -163,7 +158,7 @@ jobs:
env:
REPOS_PATH: ${{ github.workspace }}
# use --dist loadfile to so tests requiring pytest-virtualenv run on the same worker
run: pytest -v -n auto --dist loadfile --durations 0 --ignore modflow_devtools/test/test_download.py
run: pytest -v -n auto --dist loadfile --durations 0 --ignore autotest/test_download.py

- name: Run network-dependent tests
# only invoke the GH API on one OS and Python version
Expand All @@ -174,4 +169,4 @@ jobs:
env:
REPOS_PATH: ${{ github.workspace }}
GITHUB_TOKEN: ${{ github.token }}
run: pytest -v -n auto --durations 0 modflow_devtools/test/test_download.py
run: pytest -v -n auto --durations 0 autotest/test_download.py
1 change: 0 additions & 1 deletion autotest/test_zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
ext, _ = get_suffixes(sys.platform)
exe_stem = "pytest"
exe_path = Path(which(exe_stem))
bin_path = exe_path.parent
exe_name = f"{exe_stem}{ext}"


Expand Down

0 comments on commit 85ccba1

Please sign in to comment.