Skip to content

Commit

Permalink
fix: ensure proper python environment when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Nov 30, 2023
1 parent 53f1c72 commit 06f8b58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
echo "Building branch/tag ${CURBRANCH:-<unkwown>}, from git ref <$GITHUB_REF>"
echo "CURBRANCH=${CURBRANCH}" >> ${GITHUB_ENV}
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: 3

- name: Install GraphViz
run: |
sudo apt-get update -y
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs-build-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends graphviz
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: 3

- name: Install dependencies
run: |
python -m pip install -U build hatch hatchling pip docutils
Expand Down

0 comments on commit 06f8b58

Please sign in to comment.