From 74f6cec08a6129c3595f4010eaa54676a75ad200 Mon Sep 17 00:00:00 2001 From: Hweinstock Date: Fri, 17 Jul 2026 19:13:59 +0000 Subject: [PATCH 1/3] fix(ci): pass codecov token to unit test workflow to allow push to update --- .github/workflows/ci.yml | 2 ++ .github/workflows/unit-test.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91dcaf999..2c8e47aba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,3 +25,5 @@ jobs: contents: read with: ref: ${{ github.event.pull_request.head.sha || github.sha }} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6180831cc..0d315c370 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -6,6 +6,9 @@ on: ref: required: true type: string + secrets: + CODECOV_TOKEN: + required: false jobs: test: From 98f428dab2120acc071dafab03310afc422bea30 Mon Sep 17 00:00:00 2001 From: Hweinstock Date: Fri, 17 Jul 2026 19:29:49 +0000 Subject: [PATCH 2/3] fix(ci): skip coverage upload on non-linx --- .github/workflows/unit-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 0d315c370..c408f1804 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -39,6 +39,8 @@ jobs: - run: bun test --coverage --coverage-reporter=lcov - name: Upload to CodeCov + # only upload on linux to avoid duplicates. + if: runner.os == 'Linux' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} From 030e22d535ee389f0a6018331ad62ea033833347 Mon Sep 17 00:00:00 2001 From: Hweinstock Date: Mon, 20 Jul 2026 13:16:20 +0000 Subject: [PATCH 3/3] fix(ci): upload codedov on failures --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index c408f1804..f768f80e6 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -40,7 +40,7 @@ jobs: - name: Upload to CodeCov # only upload on linux to avoid duplicates. - if: runner.os == 'Linux' + if: always() && runner.os == 'Linux' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }}