From 4f534ea62d660894ae13482c624d4a6d09ca3c5a Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Fri, 3 Nov 2023 16:23:30 +0000 Subject: [PATCH] use bash --- .github/workflows/conda-pytest.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-pytest.yaml b/.github/workflows/conda-pytest.yaml index 175fa60..c1f1b4a 100644 --- a/.github/workflows/conda-pytest.yaml +++ b/.github/workflows/conda-pytest.yaml @@ -10,15 +10,17 @@ jobs: uses: actions/checkout@v2 - name: Install the repo + shell: bash -l {0} run: | conda create -n test python=3.10 -y - activate test + conda activate test conda install -c conda-forge xesmf esmpy -y export ESMFMKFILE='/usr/share/miniconda/lib/esmf.mk' pip install -e . - name: run pytest + shell: bash -l {0} run: | - activate test + conda activate test which python python -m pytest