Skip to content

D2L book Notebook Canary tests #747

D2L book Notebook Canary tests

D2L book Notebook Canary tests #747

Workflow file for this run

name: D2L book Notebook Canary tests
on:
# sync weekly
schedule:
- cron: '0 9 * * *'
workflow_dispatch:
jobs:
canary-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 11
- uses: actions/checkout@v3
- name: Set up Python3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install IJava kernel
run: |
pip3 install jupyter
git clone https://github.com/frankfliu/IJava.git
cd IJava
./gradlew installKernel --python python
- name: Run canary tests
run: |
cd chapter_multilayer-perceptrons
jupyter nbconvert --to html --execute --ExecutePreprocessor.timeout=2000 mlp.ipynb