diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 483ed5b2..74fa3e38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,17 @@ jobs: disable-reviews: true - uses : actions/checkout@v3 - name: run tox - run: tox || true + run: tox - name: zip coverage report + if: ${{ !cancelled() }} run: zip -r htmlcov.zip htmlcov || true - uses: actions/upload-artifact@v3 + if: ${{ !cancelled() }} with: name: coverage artifact path: htmlcov.zip + - name: Get exit status for badge + if: ${{ failure() }} + run: false diff --git a/tox.ini b/tox.ini index e2cc7d80..08e0a9fa 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,9 @@ envlist = clean lint - py39 - py310 - py311 + ; py39 + ; py310 + ; py311 report [testenv]