Skip to content

Commit

Permalink
chore(ci): setup coverage reports to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Barrior committed Jan 10, 2024
1 parent 75b7f34 commit 1496f32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,10 @@ jobs:
- name: Run lint
run: pnpm lint

- name: Run testing
run: pnpm test
- name: Run testing with coverage
run: pnpm cov

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cSpell.words": [
"antd",
"Codecov",
"commitlint",
"cssinjs",
"dumi",
Expand Down

0 comments on commit 1496f32

Please sign in to comment.