File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,12 @@ jobs:
8484
8585 - name : Install Poetry
8686 run : |
87- python -m pip install --upgrade pip
88- python -m pip install pipx
87+ python -m pip install --upgrade pip pipx
8988 pipx install poetry
9089 poetry --version
9190
9291 - name : Enable in-project venv for better caching
93- run : poetry config virtualenvs.in-project true
92+ run : poetry config virtualenvs.create false
9493
9594 - name : Cache virtualenv
9695 uses : actions/cache@v4
@@ -104,9 +103,8 @@ jobs:
104103 - name : Install deps (incl. dev)
105104 run : poetry install --no-interaction --no-ansi
106105
107- # If your tests need environment variables, set them here (example):
108- # - name: Set test env
109- # run: echo "CMIP7_PREP_TEST=1" >> $GITHUB_ENV
110-
111106 - name : Run pytest
107+ env :
108+ ESMFMKFILE : ${{ env.ESMFMKFILE }}
109+ LD_LIBRARY_PATH : ${{ env.ESMF_INSTALL_PREFIX }}/lib:${{ env.LD_LIBRARY_PATH }}
112110 run : poetry run pytest -q
You can’t perform that action at this time.
0 commit comments