From 9d3864a1ad57e16dc92806cb417e8355ffd00156 Mon Sep 17 00:00:00 2001 From: "Leaf, Andrew T" Date: Fri, 12 Jan 2024 09:43:25 -0600 Subject: [PATCH] ci(test.yaml): add test of pip install from git, and testing against latest flopy PyPI release --- .github/workflows/test.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d4c7f4c..a717413 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -66,11 +66,22 @@ jobs: cp -r bin/$d/. "$HOME/.local/bin/" echo "$HOME/.local/bin" >> $GITHUB_PATH echo $GITHUB_PATH + - name: Test install from git + shell: bash -l {0} + run: | + pip install git+https://github.com/aleaf/modflow-export@develop + cd .. + python -c "import mfexport" + cd modflow-export - name: Install Modflow-setup and ipykernel shell: bash -l {0} run: | pip install -e . python -m ipykernel install --user --name mfexport_ci --display-name "mfexport_ci" + - name: Test with latest PyPI flopy + shell: bash -l {0} + if: ${{ matrix.python-version == 3.11}} + run: pip install flopy --force-reinstall - name: Conda list shell: bash -l {0} run: |