|
4 | 4 | # UTC 22:00 is early morning in Australia
|
5 | 5 | - cron: '0 22 * * *'
|
6 | 6 | jobs:
|
7 |
| - execution-tests-linux-osx: |
| 7 | + execution-tests-linux: |
8 | 8 | name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
|
9 | 9 | runs-on: ${{ matrix.os }}
|
10 | 10 | strategy:
|
11 | 11 | fail-fast: false
|
12 | 12 | matrix:
|
13 |
| - os: ["ubuntu-latest", "macos-latest"] |
| 13 | + os: ["ubuntu-latest"] |
14 | 14 | python-version: ["3.8"]
|
15 | 15 | steps:
|
16 | 16 | - name: Checkout
|
|
46 | 46 | with:
|
47 | 47 | name: execution-reports
|
48 | 48 | path: _build/html/reports
|
| 49 | +execution-tests-osx: |
| 50 | + name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }}) |
| 51 | + runs-on: ${{ matrix.os }} |
| 52 | + strategy: |
| 53 | + fail-fast: false |
| 54 | + matrix: |
| 55 | + os: ["macos-latest"] |
| 56 | + python-version: ["3.8"] |
| 57 | + steps: |
| 58 | + - name: Checkout |
| 59 | + uses: actions/checkout@v2 |
| 60 | + - uses: conda-incubator/setup-miniconda@v2 |
| 61 | + with: |
| 62 | + auto-update-conda: true |
| 63 | + python-version: ${{ matrix.python-version }} |
| 64 | + - name: Install Anaconda + Dependencies |
| 65 | + shell: bash -l {0} |
| 66 | + run: | |
| 67 | + conda install anaconda |
| 68 | + pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx_tojupyter |
| 69 | + - name: Install latex dependencies |
| 70 | + run: | |
| 71 | + brew install texlive |
| 72 | + - name: Build Lectures (+ Execution Checks) |
| 73 | + shell: bash -l {0} |
| 74 | + run: jb build lectures --path-output=./ -W --keep-going |
| 75 | + - name: Upload Execution Reports |
| 76 | + uses: actions/upload-artifact@v2 |
| 77 | + if: failure() |
| 78 | + with: |
| 79 | + name: execution-reports |
| 80 | + path: _build/html/reports |
49 | 81 | # execution-tests-win:
|
50 | 82 | # name: Execution Tests (${{ matrix.python-version }}, ${{ matrix.os }})
|
51 | 83 | # runs-on: ${{ matrix.os }}
|
|
0 commit comments