From ae7f8ebb5d888b437c09b06d6dde4f3b3009df37 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Fri, 8 Mar 2024 15:27:24 -0600 Subject: [PATCH] Try to guard with success flag --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12a573ea73..474230a8c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,7 @@ jobs: run: coverage run --data-file=.coverage-doctest --module pytest src/ README.rst - name: Coverage report for doctest only - if: matrix.python-version == '3.11' + if: success() && matrix.python-version == '3.11' run: | coverage report --data-file=.coverage-doctest coverage xml --data-file=.coverage-doctest -o doctest-coverage.xml