Skip to content

Commit

Permalink
attempted fix of sphinx in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ricfog committed Feb 21, 2025
1 parent f4dd775 commit f9ccc40
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:

steps:
- name: Checkout the branch
uses: actions/[email protected]
with:
persist-credentials: false
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -34,15 +32,18 @@ jobs:
with:
version: 1.2.2
virtualenvs-create: true
virtualenvs-in-project: false
virtualenvs-in-project: true # Change to true for a local venv
installer-parallel: true

- name: Install dependencies
run: |
poetry install --all-extras
sudo apt-get update && sudo apt-get install -y pandoc
pip install pandoc
poetry add sphinx
poetry run pip install pandoc # Ensure it's installed in Poetry's venv
- name: Check if Sphinx is installed
run: |
poetry run sphinx-build --version
- name: Build the documentation with Sphinx
run: |
Expand Down

0 comments on commit f9ccc40

Please sign in to comment.