-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GA] Run Execution Checks on Schedule (#144)
* [GA] Run Builds on a Schedule + Execution Checks
- Loading branch information
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Run Execution Tests [Latest Anaconda] | ||
on: | ||
schedule: | ||
# UTC 22:00 is early morning in Australia | ||
- cron: '0 22 * * *' | ||
jobs: | ||
execution-tests-linux-osx: | ||
name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }}) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest", "macos-latest"] | ||
python-version: ["3.8"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Anaconda + Dependencies | ||
shell: bash -l {0} | ||
run: | | ||
conda install anaconda | ||
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx_tojupyter | ||
- name: Build Lectures (+ Execution Checks) | ||
shell: bash -l {0} | ||
run: jb build lectures --path-output=./ -W --keep-going | ||
- name: Upload Execution Reports | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: execution-reports | ||
path: _build/html/reports | ||
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.8"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Anaconda + Dependencies | ||
shell: powershell | ||
run: | | ||
conda install anaconda | ||
pip install jupyter-book | ||
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx_tojupyter | ||
- name: Build Lectures (+ Execution Checks) | ||
shell: powershell | ||
run: jb build lectures --path-output=./ -W --keep-going | ||
- name: Upload Execution Reports | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: execution-reports | ||
path: _build/html/reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81e772b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://epic-agnesi-957267.netlify.app as production
🚀 Deployed on https://60b5b56b7c604439cd9a565f--epic-agnesi-957267.netlify.app
81e772b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://60b8310ba7a348493e138e30--epic-agnesi-957267.netlify.app