Skip to content

Commit 56be2d0

Browse files
committed
MAINT: print out skips without duplicates
1 parent e1cec4a commit 56be2d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ commands =
7575
# We only skip testing untouched tutorials in PRs; in cron and dispatch all should be tested
7676
!buildhtml: bash -c 'if [[ $GITHUB_EVENT_NAME == pull_request && -z "$(grep force_run:all_tests ${GITHUB_EVENT_PATH})" ]]; then cat changed_tutorials; else cat all_tutorials; fi | grep -vf ignore_testing | xargs jupytext --to notebook '
7777

78-
!buildhtml: bash -c "echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_testing"
78+
!buildhtml: bash -c "echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_testing | sort | uniq"
7979
!buildhtml: pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10 tutorials
8080

8181
# We don't want to execute in rendering the ones we ignore for testing
@@ -87,7 +87,7 @@ commands =
8787
# sed -i needs a bit of hacky conditional on ubuntu to cover the case of an empty ignore
8888
buildhtml: bash -c 'if [ -s ignore_execute ]; then for name in $(cat ignore_execute | sort| uniq); do if [ -z "$(head -n 20 ${name}| grep execute:)" ]; then sed -i -e "s|kernelspec:|execute:\n skip: true\nkernelspec:|g" ${name}; fi; done;fi'
8989

90-
buildhtml: bash -c "echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_execute"
90+
buildhtml: bash -c "echo 'Notebooks ignored (not tested/executed) in this job:\n'; cat ignore_execute | sort | uniq"
9191

9292
# Using srtict so we fail with trackbacks and debug mode to have a richer log
9393
# For full build we disable parallel runs to easy server load

0 commit comments

Comments
 (0)