Skip to content

Commit 52d9767

Browse files
committed
ci: update workflows for poetry 1.2.0
1 parent 316caf9 commit 52d9767

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
with:
2020
python-version: "3.9"
2121

22-
- name: Install poetry and dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
python -m pip install poetry
22+
- name: Install Poetry
23+
uses: snok/install-poetry@v1
24+
with:
25+
version: latest
26+
virtualenvs-create: true
27+
virtualenvs-in-project: true
2628

2729
- name: Configure poetry
2830
env:

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- name: Install Poetry
3333
uses: snok/install-poetry@v1
3434
with:
35+
version: latest
3536
virtualenvs-create: true
3637
virtualenvs-in-project: true
3738

@@ -44,7 +45,7 @@ jobs:
4445

4546
- name: Install dependencies
4647
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
47-
run: poetry install --no-interaction
48+
run: poetry install --no-interaction --all-extras
4849

4950
- name: Run tests
5051
run: |

0 commit comments

Comments
 (0)