Skip to content

Tutorial updates for extragalactic tutorials #125

Tutorial updates for extragalactic tutorials

Tutorial updates for extragalactic tutorials #125

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$"