Skip to content

Commit 1155c92

Browse files
committed
fix pytest
1 parent b1af76e commit 1155c92

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pytest.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
echo "using ESMPy tag ${ESMF_VERSION}"
4242
# remove any existing esmpy dep and add the exact git subdir tag
4343
poetry remove esmpy || true
44-
poetry add --lock --no-interaction \
45-
"esmpy@git+https://github.com/esmf-org/esmf.git@${ESMF_VERSION}#subdirectory=src/addon/esmpy"
44+
poetry add --lock --no-interaction --directory=$ESMF_DIR/src/addon/esmpy esmpy
4645
poetry run python -c "import esmpy; print('ESMPy:', esmpy.__version__)"
4746
- name: Cache virtualenv
4847
uses: actions/cache@v4

0 commit comments

Comments
 (0)