Skip to content

Commit 24df72f

Browse files
committed
GA: Update os-x to run using brew for texlive
1 parent dc797ab commit 24df72f

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

.github/workflows/execution.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: ["ubuntu-latest", "macos-latest"]
13+
os: ["ubuntu-latest"]
1414
python-version: ["3.8"]
1515
steps:
1616
- name: Checkout
@@ -46,6 +46,39 @@ jobs:
4646
with:
4747
name: execution-reports
4848
path: _build/html/reports
49+
50+
execution-tests-osx:
51+
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
52+
runs-on: ${{ matrix.os }}
53+
strategy:
54+
fail-fast: false
55+
matrix:
56+
os: ["macos-latest"]
57+
python-version: ["3.8"]
58+
steps:
59+
- name: Checkout
60+
uses: actions/checkout@v2
61+
- uses: conda-incubator/setup-miniconda@v2
62+
with:
63+
auto-update-conda: true
64+
python-version: ${{ matrix.python-version }}
65+
- name: Install latex dependencies
66+
run: |
67+
brew install texlive
68+
- name: Install Anaconda + Dependencies
69+
shell: bash -l {0}
70+
run: |
71+
conda install anaconda
72+
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx_tojupyter sphinxcontrib-youtube
73+
- name: Build Lectures (+ Execution Checks)
74+
shell: bash -l {0}
75+
run: jb build lectures --path-output=./ -W --keep-going
76+
- name: Upload Execution Reports
77+
uses: actions/upload-artifact@v2
78+
if: failure()
79+
with:
80+
name: execution-reports
81+
path: _build/html/reports
4982
# execution-tests-win:
5083
# name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
5184
# runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)