Skip to content

Commit 2268383

Browse files
committed
CI: fix graphviz
1 parent fe5d5f8 commit 2268383

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ jobs:
1515
python-version: "3.10"
1616
environment-file: environment.yml
1717
activate-environment: quantecon
18-
- name: Graphics Support
19-
run: |
20-
sudo apt-get -qq update && sudo apt-get install -y graphviz
2118
# - name: Install latex dependencies
2219
# run: |
2320
# sudo apt-get -qq update
@@ -80,4 +77,4 @@ jobs:
8077
deploy-message: "Preview Deploy from GitHub Actions"
8178
env:
8279
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
83-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
80+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: quantecon
22
channels:
3+
- anaconda
34
- default
45
dependencies:
56
- python=3.10
67
- anaconda=2023.03
8+
- graphviz
79
- pip
810
- pip:
911
- jupyter-book==0.15.1
@@ -23,4 +25,3 @@ dependencies:
2325
# - cylp
2426
# - array-to-latex
2527
# - prettytable
26-

lectures/networks.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ kernelspec:
1313

1414
# Networks
1515

16+
```{admonition} graphviz
17+
:class: warning
18+
If you are running this lecture locally it requires [graphviz](https://www.graphviz.org)
19+
to be installed on your computer. Installation instructions for graphviz can be found
20+
[here](https://www.graphviz.org/download/)
21+
```
22+
1623
```{code-cell} ipython3
1724
:tags: [hide-output]
1825

0 commit comments

Comments
 (0)