Skip to content

Commit 613fb20

Browse files
committed
TMP CI: back to direct pytest run
1 parent fc5a34d commit 613fb20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ commands =
3737
## but so far it's simple enought to keep it here.
3838

3939
# We only want to run CI in PRs for the notebooks we touched
40-
!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 '
40+
#!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 '
4141

42-
!buildhtml: bash test.sh
42+
!buildhtml: bash find tutorials -name "*.md" | xargs jupytext --to notebook
43+
!buildhtml: pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10 tutorials
4344

4445
buildhtml: make html
4546

0 commit comments

Comments
 (0)