Skip to content

Commit

Permalink
ci: Bump CodeCov action (#2416)
Browse files Browse the repository at this point in the history
Bump CodeCov to latest version and add upload token secret to fix issues
publishing code coverage.
  • Loading branch information
FrederikBolding authored May 27, 2024
1 parent ab71704 commit 5e6db9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build, Lint, and Test

on:
workflow_call:
secrets:
CODECOV_TOKEN:
required: true

jobs:
prepare:
Expand Down Expand Up @@ -254,9 +257,10 @@ jobs:
pattern: coverage-*
merge-multiple: true
- name: Upload coverage results
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
uses: codecov/codecov-action@6d798873df2b1b8e5846dba6fb86631229fbcb17
with:
files: packages/**/coverage-final.json
token: ${{ secrets.CODECOV_TOKEN }}

test-e2e:
name: E2E Test
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
name: Build, lint, and test
needs: check-workflows
uses: ./.github/workflows/build-lint-test.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish-staging-simulator:
name: Publish Snaps Simulator to `staging` folder
Expand Down

2 comments on commit 5e6db9d

@wilfred1005
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥰🤩

@wilfred1005
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💚

Please sign in to comment.