Skip to content

Commit dc70d2b

Browse files
committed
ci: ensure Poetry is installed in all OS matrix jobs
1 parent 3c262ad commit dc70d2b

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ jobs:
3939
path: .venv
4040
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
4141

42+
- name: Install Poetry
43+
uses: snok/install-poetry@v1
44+
with:
45+
version: latest
46+
virtualenvs-create: true
47+
virtualenvs-in-project: true
48+
4249
- name: Install dependencies
4350
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4451
run: poetry install --no-interaction --with dev --no-root

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ jobs:
4141
path: .venv
4242
key: venv-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}
4343

44+
- name: Install Poetry
45+
uses: snok/install-poetry@v1
46+
with:
47+
version: latest
48+
virtualenvs-create: true
49+
virtualenvs-in-project: true
50+
4451
- name: Install dependencies
4552
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4653
run: poetry install --no-interaction --with dev --no-root

0 commit comments

Comments
 (0)