diff --git a/test.sh b/test.sh index 5ec7964..0e76f7c 100755 --- a/test.sh +++ b/test.sh @@ -27,7 +27,7 @@ for file in ${files_to_process}; do notebook_files+=("${notebook_file}") done -pytest --nbval-lax +pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10 # Clean up ipynb files that were converted. Any stray ipynb files that were # _not_ the result of conversion from Markdown will be left alone. diff --git a/tox.ini b/tox.ini index d7e1e1c..6b7c4f4 100644 --- a/tox.ini +++ b/tox.ini @@ -39,7 +39,7 @@ commands = # We only want to run CI in PRs for the notebooks we touched !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 ' - !buildhtml: pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10 tutorials + !buildhtml: bash test.sh buildhtml: make html