Skip to content

Commit

Permalink
Setup code coverage with codecov
Browse files Browse the repository at this point in the history
We will have to provide a codecov token for builds.
The token will not be used for PRs from forks.
  • Loading branch information
greg0ire committed Jun 27, 2024
1 parent 066e1e2 commit 3989695
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn lint
- run: yarn test
- run: yarn test --coverage

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v4"
with:
directory: coverage
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

0 comments on commit 3989695

Please sign in to comment.