-
-
Notifications
You must be signed in to change notification settings - Fork 27
44 lines (44 loc) · 1.55 KB
/
execution-win.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Execution Tests [Latest Anaconda, Windows]
on:
schedule:
# UTC 17:00 is early morning in Australia
- cron: '0 15 * * 4'
jobs:
execution-tests-win:
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-latest"]
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install Anaconda + Dependencies
shell: powershell
# numba and llvmlite have issues on latest anaconda install for windows
# https://github.com/numba/llvmlite/issues/650#issuecomment-865287766
run: |
conda install anaconda
conda install -c numba numba
conda install -c numba llvmlite
pip install jupyter-book
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx-tojupyter sphinx-exercise sphinx-togglebutton
- name: Install Jax [CPU]
shell: bash -l {0}
run: |
pip install "jax[CPU]"
- name: Build Lectures (+ Execution Checks)
shell: powershell
run: jb build lectures --path-output=./ -W --keep-going
- name: Upload Execution Reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: execution-reports
path: _build/html/reports