From def443d5283d465efd61627e23088a0edeb77d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 16 Dec 2024 18:10:04 -0800 Subject: [PATCH] CI: double run with conda, too --- .github/workflows/ci_tests_and_publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' }}