From 360914eb0e9fe18e2ef5c7bd35758875e56428ff Mon Sep 17 00:00:00 2001 From: Wen Wei Tseng Date: Fri, 8 Dec 2023 16:24:17 +0800 Subject: [PATCH] use find --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf74f2d..510bb00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,12 +76,13 @@ jobs: key: ${{ steps.cache-julia.outputs.cache-primary-key }} - name: Install IJulia kernel run: julia --color=yes -e 'using IJulia; installkernel("Julia", "--project=@.")' - - name: Execute Notebook + - name: Execute Notebooks run: > + find docs -type f -name '*.ipynb' | parallel --joblog /tmp/log -j${NJOBS} jupyter nbconvert --to notebook --execute --inplace ${{ env.EXTRA_ARGS }} --ExecutePreprocessor.timeout=${{ env.TIMEOUT }} --ExecutePreprocessor.kernel_name=julia-1.$(julia -e 'print(VERSION.minor)') - {} ::: docs/*.ipynb + {} - name: Show execution stats run: cat /tmp/log - name: Build website