diff --git a/.github/workflows/ci_tests_and_publish.yml b/.github/workflows/ci_tests_and_publish.yml index b4c620f..8e19e6d 100644 --- a/.github/workflows/ci_tests_and_publish.yml +++ b/.github/workflows/ci_tests_and_publish.yml @@ -81,12 +81,13 @@ jobs: auto-activate-base: false conda-remove-defaults: true - name: Install testing dependencies - run: pip install -r doc-requirements.txt + run: pip install -r doc-requirements.txt pytest-custom_exit_code - name: Execute notebooks as testing run: | python check_env.py bash -c 'find content -name "*.md" | xargs jupytext --to notebook ' - pytest --nbval content/ + pytest --nbval --suppress-tests-failed-exit-code content/ + pytest --nbval --last-failed --last-failed-no-failures none --suppress-no-test-exit-code content/ publish: if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}