Skip to content

Updated tutorial

Updated tutorial #122

name: Check notebook outputs
on:
push:
pull_request:
branches: [ master ]
jobs:
check-notebook-outputs:
runs-on: ubuntu-latest
steps:
- name: Install jq
run: sudo apt-get install jq
- uses: actions/checkout@v2
- name: Check if notebook outputs have been cleared
run: |
! find . -name "*.ipynb" -printf "%p " -exec jq "[.cells[] | .outputs | length] | add == 0" {} \; | grep " false$"