diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0c6de5c..45632c9 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,9 +20,7 @@ jobs: steps: - name: Checkout the branch - uses: actions/checkout@v2.3.1 - with: - persist-credentials: false + uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 @@ -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: |