From 5168cee9ba83272c75cec717a5155baeea60f301 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Sat, 14 Dec 2024 15:00:56 -0500 Subject: [PATCH 1/2] ci: test example models on all platforms --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5c4958ea3c..fccb4df0aa1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -317,16 +317,13 @@ jobs: pixi run autotest -m "$markers" -k "$filters" - name: Install executables - if: runner.os == 'Linux' uses: modflowpy/install-modflow-action@v1 - name: Test examples - if: runner.os == 'Linux' working-directory: modflow6 shell: pixi run bash -e {0} run: | - cp bin/mf6 ~/.local/bin/modflow/ - cp bin/libmf6.so ~/.local/bin/modflow/ + cp bin/* ~/.local/bin/modflow/ cd ../modflow6-examples/autotest pytest -v -n auto test_scripts.py From c3bf0b9d053c19252131ef98e2f29c6bf2be15d7 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Sat, 14 Dec 2024 15:35:26 -0500 Subject: [PATCH 2/2] recursive --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fccb4df0aa1..b5c74f065ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -323,7 +323,7 @@ jobs: working-directory: modflow6 shell: pixi run bash -e {0} run: | - cp bin/* ~/.local/bin/modflow/ + cp -R bin/* ~/.local/bin/modflow/ cd ../modflow6-examples/autotest pytest -v -n auto test_scripts.py @@ -474,8 +474,7 @@ jobs: working-directory: modflow6 shell: pixi run bash -e {0} run: | - cp bin/mf6 ~/.local/bin/modflow/ - cp bin/libmf6.so ~/.local/bin/modflow/ + cp -R bin/* ~/.local/bin/modflow/ cd ../modflow6-examples/autotest pytest -v -n auto test_scripts.py