From 179d66d042876c9f0dc69c03d310653d00a83e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 13 May 2025 15:38:19 -0700 Subject: [PATCH] CI: use the test.sh in tox --- test.sh | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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