From 927daac8997dd2a0ee034a6b8e0b6afa9864087e Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Tue, 14 May 2024 03:10:01 -0700 Subject: [PATCH] ci: Some minor CI updates, allowed the codecov step to fail and also only run on success --- .github/workflows/docs.yml | 1 + .github/workflows/pr.yaml | 1 + .github/workflows/test.yml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b540dbb3..23d02f55 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -73,6 +73,7 @@ jobs: nox -s docs - name: 'Deploy' + if: success() && github.repository == 'squishy-scsi/squishy' uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5fbfd2fe..8f05838b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -74,6 +74,7 @@ jobs: - name: 'Codecov' if: success() && github.repository == 'squishy-scsi/squishy' uses: codecov/codecov-action@v4 + continue-on-error: true # It's not super mission critical that the coverage upload fails with: verbose: true files: ./build/tests/coverage.xml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b8efc29..f9affa5c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,8 @@ jobs: - name: 'Codecov Upload' uses: codecov/codecov-action@v4 + if: success() && github.repository == 'squishy-scsi/squishy' + continue-on-error: true # It's not super mission critical that the coverage upload fails with: verbose: true files: ./build/tests/coverage.xml