Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds Codecov deprecated-components flags #6697

Prev Previous commit
Next Next commit
feat: changes config
AlexanderMelox committed Jan 14, 2025
commit 3112e09cbbd62c2d5458d934f40466c726452027
5 changes: 2 additions & 3 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -42,10 +42,9 @@ flag_management:
- name: exclude_deprecated #custom flag name to view the project coverage without deprecated components
paths:
- '../packages/ibm-products/src/components/**/*.deprecated.test.js' #fill in your own path. Note, accepts globs, not regexes
- '../packages/ibm-products/src/components/**/*.deprecated.test.ts' #fill in your own path. Note, accepts globs, not regexes
carryforward: true
statuses:
- type: project
target: 20%
target: 80%
- type: patch
target: 100%
target: auto
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -33,6 +33,8 @@ jobs:
run: yarn
- name: CI build checks
run: yarn ci-check:build
- codecov/upload:
flags: exclude_deprecated

format:
runs-on: ubuntu-latest
@@ -123,6 +125,8 @@ jobs:
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: exclude_deprecated
- name: CI snapshot tests for c4p
run: yarn ci-check:test:c4p:snapshot
test-c4p-wc: