Skip to content

Commit

Permalink
Install graphviz in CI
Browse files Browse the repository at this point in the history
To generate the example that has graphviz, the `dot` utility needs to be
available, which is not by default.  This commit makes the graphviz
application available in the CI services that build the example.
  • Loading branch information
j9ac9k committed May 28, 2024
1 parent 4b72b50 commit 683c6d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,19 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
pandoc: true
- name: "Install Graphviz on Windows 🗔"
if: runner.os == 'Windows'
run: choco install graphviz
- name: "Install Graphviz on macOS "
if: runner.os == 'macOS'
run: |
brew update
brew install graphviz
- name: "Install Graphviz on Linux 🐧"
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends graphviz
- name: "Build docs and check for warnings 📖"
shell: bash
run: |
Expand Down
2 changes: 2 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ build:
os: ubuntu-20.04
tools:
python: "3.10"
apt_packages:
- graphviz
jobs:
# build the gallery of themes before building the doc
post_install:
Expand Down

0 comments on commit 683c6d1

Please sign in to comment.