Skip to content

Commit 2ec728f

Browse files
committed
chore: use which python
1 parent 2112733 commit 2ec728f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/_unit-tests-python.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
- name: Activate Poetry Environment
4040
# "poetry env use" is required: https://github.com/actions/setup-python/issues/374#issuecomment-1088938718
4141
run: |
42-
poetry env use "${{ env.python-version }}"
43-
- name: Install dependencies
44-
run: poetry install
42+
poetry env use $(which python)
43+
poetry install
4544
- name: Launch mongo
4645
env:
4746
MONGO_PORT: ${{ env.mongo-port }}

0 commit comments

Comments
 (0)