diff --git a/.ci_support/build_notebooks.sh b/.ci_support/build_notebooks.sh deleted file mode 100755 index 08c14214..00000000 --- a/.ci_support/build_notebooks.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# execute notebooks -i=0; -for notebook in $(ls notebooks/*.ipynb); do - papermill ${notebook} ${notebook%.*}-out.${notebook##*.} -k python3 || i=$((i+1)); -done; - -# push error to next level -if [ $i -gt 0 ]; then - exit 1; -fi; \ No newline at end of file diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 12658130..818fcdd9 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -167,9 +167,11 @@ jobs: - name: Notebooks shell: bash -l {0} timeout-minutes: 5 - run: > - flux start - .ci_support/build_notebooks.sh + run: | + papermill notebooks/1-single-node.ipynb notebooks/1-single-node-out.ipynb -k python3 + flux start papermill notebooks/2-hpc-cluster.ipynb notebooks/2-hpc-cluster-out.ipynb -k python3 + flux start papermill notebooks/3-hpc-job.ipynb notebooks/3-hpc-job-out.ipynb -k python3 + papermill notebooks/4-developer.ipynb notebooks/4-developer-out.ipynb -k python3 unittest_flux_mpich: needs: [black]