Skip to content

Commit 44922b1

Browse files
committed
Use the right Python version for installing poetry
1 parent 42a7ae6 commit 44922b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci_poetry.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Configure poetry
3535
run: poetry config virtualenvs.in-project true
3636

37+
- name: Configure python version for poetry
38+
run: poetry env use python${{ matrix.python-version }}
39+
3740
- name: Install dependencies (without extras)
3841
run: poetry install --with dev --without docs --no-interaction
3942

@@ -74,6 +77,9 @@ jobs:
7477
- name: Configure poetry
7578
run: poetry config virtualenvs.in-project true
7679

80+
- name: Configure python version for poetry
81+
run: poetry env use python${{ matrix.python-version }}
82+
7783
- name: Install dependencies (including fractal-tasks extra)
7884
run: poetry install --with dev --without docs --no-interaction -E fractal-tasks
7985

0 commit comments

Comments
 (0)