Skip to content

[Github Actions] Enable nightly execution testing on windows #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 36 additions & 34 deletions .github/workflows/execution.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Run Execution Tests [Latest Anaconda]
on:
schedule:
# UTC 22:00 is early morning in Australia
- cron: '0 22 * * *'
on: push
# 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 }})
Expand All @@ -24,6 +24,8 @@ jobs:
run: |
conda install anaconda
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx_tojupyter
pip uninstall -y myst-nb
pip install git+https://github.com/executablebooks/MyST-NB@code-load-utf8-standard
- name: Build Lectures (+ Execution Checks)
shell: bash -l {0}
run: jb build lectures --path-output=./ -W --keep-going
Expand All @@ -33,33 +35,33 @@ jobs:
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
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