Skip to content

Commit

Permalink
test the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jul 23, 2024
1 parent 99ed1e6 commit fe67252
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/documentation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,19 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH # Ensure Poetry's bin directory is in PATH
- name: Install package dependencies using Poetry
run: |
cd lightrag
poetry config virtualenvs.create false # Avoid creating a virtual environment
poetry install --all-extras --verbose # Install all optional dependencies
cd .. # Change back to the root directory
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $BASH_ENV
source $BASH_ENV
- name: Install documentation dependencies using Poetry
run: |
poetry config virtualenvs.create false # Avoid creating a virtual environment
poetry install --only doc # Install only the doc dependencies as specified in pyproject.toml
cd docs
poetry install --with doc # Install all dependencies including those from the main project
- name: Build documentation using Makefile
run: |
echo "Building documentation from: $(pwd)"
ls -l # Debug: List current directory contents
poetry run make html # Run Makefile in docs directory to build HTML docs
poetry run make html SPHINXOPTS=-v # Run Makefile in docs directory to build HTML docs with verbose output
working-directory: ${{ github.workspace }}/docs

- name: List built documentation
Expand Down

0 comments on commit fe67252

Please sign in to comment.