diff --git a/.github/workflows/execution.yml b/.github/workflows/execution.yml index df293e3ed..bc5cee45e 100644 --- a/.github/workflows/execution.yml +++ b/.github/workflows/execution.yml @@ -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 }}) @@ -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 @@ -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