Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit a19107f

Browse files
authored
Merge pull request #560 from staticdev/ci/fix-install-nox-poetry-docs-workflow
Fix install nox-poetry docs workflow
2 parents b47435a + fefb8f1 commit a19107f

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/docs.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,26 @@ jobs:
2222
- uses: actions/setup-python@v2.3.1
2323
with:
2424
python-version: "3.10"
25-
- run: |
25+
26+
- name: Upgrade pip
27+
run: |
2628
pip install --constraint=.github/workflows/constraints.txt pip
27-
pip install --constraint=.github/workflows/constraints.txt nox
29+
pip --version
30+
31+
- name: Install Poetry
32+
run: |
33+
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
34+
poetry --version
35+
36+
- name: Install Nox
37+
run: |
38+
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
39+
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
40+
nox --version
41+
2842
- name: Build documentation
2943
run: nox --force-color --session=docs-build
44+
3045
- name: Upload documentation
3146
uses: actions/upload-artifact@v2.3.0
3247
with:

0 commit comments

Comments
 (0)