File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 3838 devdeps: git+https://github.com/astropy/pyvo.git# egg=pyvo
3939 devdeps: git+https://github.com/astropy/astroquery.git# egg=astroquery
4040
41- allowlist_externals = bash, jupyter-book
41+ allowlist_externals = bash
4242
4343
4444install_command =
@@ -67,11 +67,13 @@ commands =
6767 # We only want to run CI in PRs for the notebooks we touched
6868 !buildhtml: bash -c ' if [[ $GITHUB_EVENT_NAME == pull_request && -z "$(grep force_run:all_tests ${GITHUB_EVENT_PATH})" ]]; then git fetch origin main --depth=1; git diff origin/main --name-only tutorials | grep .md; else find tutorials -name "*.md"; fi | grep -vf ignore_testing | xargs jupytext --to notebook '
6969
70+ !buildhtml: bash -c " echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_testing"
7071 !buildhtml: pytest --nbval-lax -vv --suppress-no-test-exit-code --durations =10 tutorials
7172
7273 # sed -i needs a bit of hacky conditional on ubuntu to cover the case of an empty ignore
7374 buildhtml: bash -c " find tutorials -name '*md' | grep -f ignore_testing | sort | uniq > ignore_execute; if [ -s ignore_execute ]; then cat ignore_execute | xargs -n 1 sed -i -e 's|name: python3|name: python3\nskip_execution: true|g';fi"
7475
76+ buildhtml: bash -c " echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_execute"
7577 # Using srtict so we fail with trackbacks and debug mode to have a richer log
7678 buildhtml: bash -c " npx myst build --execute --html --strict -d"
7779
You can’t perform that action at this time.
0 commit comments