Skip to content

Commit 22a9078

Browse files
authored
fix(ci): install poetry before calling setup/python with cache (#1315)
1 parent df058ba commit 22a9078

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

Diff for: .github/workflows/publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
- uses: actions/checkout@v3
4141
with:
4242
fetch-depth: 0
43+
- name: Install poetry
44+
run: pipx install poetry
4345
- name: Set up Python
4446
uses: actions/setup-python@v4
4547
with:
@@ -106,6 +108,8 @@ jobs:
106108
run: |
107109
git config user.name "Release bot"
108110
git config user.email [email protected]
111+
- name: Install poetry
112+
run: pipx install poetry
109113
- name: Set up Python
110114
uses: actions/setup-python@v4
111115
with:

Diff for: .github/workflows/publish_layer.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
uses: actions/setup-node@v3
3030
with:
3131
node-version: "16.12"
32+
- name: Install poetry
33+
run: pipx install poetry
3234
- name: Setup python
3335
uses: actions/setup-python@v4
3436
with:

Diff for: .github/workflows/python_build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
PYTHON: ${{ matrix.python-version }}
3333
steps:
3434
- uses: actions/checkout@v3
35+
- name: Install poetry
36+
run: pipx install poetry
3537
- name: Set up Python ${{ matrix.python-version }}
3638
uses: actions/setup-python@v4
3739
with:

Diff for: .github/workflows/python_docs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
26+
- name: Install poetry
27+
run: pipx install poetry
2628
- name: Set up Python
2729
uses: actions/setup-python@v4
2830
with:

Diff for: .github/workflows/rebuild_latest_docs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- uses: actions/checkout@v3
2727
with:
2828
fetch-depth: 0
29+
- name: Install poetry
30+
run: pipx install poetry
2931
- name: Set up Python
3032
uses: actions/setup-python@v4
3133
with:

Diff for: .github/workflows/run-e2e-tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: "Checkout"
1818
uses: actions/checkout@v3
19+
- name: Install poetry
20+
run: pipx install poetry
1921
- name: "Use Python"
2022
uses: actions/setup-python@v3
2123
with:

0 commit comments

Comments
 (0)