Skip to content

Commit a7a76c1

Browse files
committed
[GA] Run Builds on a Schedule + Execution Checks
1 parent b9dedb6 commit a7a76c1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/scheduled.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Run Execution Tests [Latest Anaconda]
2+
on:
3+
pull_request:
4+
types: [opened]
5+
schedule:
6+
# UTC 22:00 is early morning in Australia
7+
- cron: '0 22 * * *'
8+
jobs:
9+
execution-tests:
10+
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
16+
python-version: ["3.8"]
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- uses: conda-incubator/setup-miniconda@v2
21+
with:
22+
auto-update-conda: true
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install Anaconda + Dependencies [Linux,OS X]
25+
shell: bash -l {0}
26+
run: |
27+
conda install anaconda
28+
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe
29+
- name: Install Anaconda + Dependencies [Windows]
30+
shell: pwsh
31+
run: |
32+
conda install anaconda
33+
pip install jupyter-book
34+
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe
35+
- name: Build Lectures (+ Execution Checks) [Linux, OS X]
36+
shell: bash -l {0}
37+
run: jb build lectures --path-output=./
38+
- name: Build Lectures (+ Execution Checks) [Windows]
39+
shell: pwsh
40+
run: jb build lectures --path-output=./

0 commit comments

Comments
 (0)