Skip to content

Commit

Permalink
Merge pull request #772 from open-formulieren/chore/724-codecov-flags
Browse files Browse the repository at this point in the history
Configure coverage flags for storybook/vitest
  • Loading branch information
sergei-maertens authored Jan 13, 2025
2 parents ea277d9 + b51321e commit 36b566b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: vitest

linting:
name: Lint code (${{ matrix.tool.name }})
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ jobs:
npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: storybook

chromatic:
name: Visual regression test with Chromatic
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---

flag_management: {}
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 36b566b

Please sign in to comment.