diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 3a1fea1..d7f4939 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -91,12 +91,12 @@ jobs: - name: Upload coverage data if: ${{ startsWith(matrix.passed_name, 'py') }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: name: ${{ matrix.passed_name }} - fail_ci_if_error: false # see https://github.com/codecov/codecov-action/issues/598 token: ${{ secrets.CODECOV_TOKEN }} verbose: true # optional (default = false) + fail_ci_if_error: true - name: Archive logs uses: actions/upload-artifact@v4 @@ -125,6 +125,17 @@ jobs: runs-on: ubuntu-latest steps: + - name: Merge logs into a single archive + uses: actions/upload-artifact/merge@v4 + with: + name: logs.zip + pattern: logs*.zip + delete-merged: true + + - name: Check codecov.io status + if: github.event_name == 'pull_request' + uses: coactions/codecov-status@main + - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 with: