Skip to content

Commit f9ccc40

Browse files
committed
attempted fix of sphinx in actions
1 parent f4dd775 commit f9ccc40

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout the branch
23-
uses: actions/checkout@v2.3.1
24-
with:
25-
persist-credentials: false
23+
uses: actions/checkout@v2
2624

2725
- name: Set up Python ${{ matrix.python-version }}
2826
uses: actions/setup-python@v2
@@ -34,15 +32,18 @@ jobs:
3432
with:
3533
version: 1.2.2
3634
virtualenvs-create: true
37-
virtualenvs-in-project: false
35+
virtualenvs-in-project: true # Change to true for a local venv
3836
installer-parallel: true
3937

4038
- name: Install dependencies
4139
run: |
4240
poetry install --all-extras
4341
sudo apt-get update && sudo apt-get install -y pandoc
44-
pip install pandoc
45-
poetry add sphinx
42+
poetry run pip install pandoc # Ensure it's installed in Poetry's venv
43+
44+
- name: Check if Sphinx is installed
45+
run: |
46+
poetry run sphinx-build --version
4647
4748
- name: Build the documentation with Sphinx
4849
run: |

0 commit comments

Comments
 (0)