Skip to content

Commit 873dd21

Browse files
authored
Update docs.yml
use conda to install graphviz
1 parent 345344a commit 873dd21

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/docs.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,22 @@ jobs:
1717
env:
1818
GH_PAT: ${{secrets.GH_PAT}}
1919
steps:
20+
2021
- uses: actions/checkout@v2
21-
- name: Set up Python 3.8
22-
uses: actions/setup-python@v2
22+
23+
- uses: conda-incubator/setup-miniconda@v2.0.0
2324
with:
25+
miniconda-version: "latest"
26+
activate-environment: compas-dev
27+
channels: conda-forge
2428
python-version: 3.8
29+
2530
- name: Install dependencies
2631
run: |
2732
python -m pip install --upgrade pip
2833
python -m pip install cython --install-option="--no-cython-compile"
34+
conda install graphviz
35+
2936
- name: Install
3037
run: |
3138
python -m pip install --no-cache-dir -r requirements-dev.txt
@@ -92,4 +99,4 @@ jobs:
9299
build_dir: ./
93100
keep_history: false
94101
env:
95-
GH_PAT: ${{ secrets.GH_PAT }}
102+
GH_PAT: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)