Skip to content

Commit

Permalink
use find
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Dec 8, 2023
1 parent 6afe499 commit 360914e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 360914e

Please sign in to comment.