Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/actions/changes-filter/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ outputs:
description: 'Shared deps, `apps/website/**`, or website e2e workflow support changed.'
value: ${{ github.event_name != 'pull_request' || steps.filter.outputs.deps == 'true' || steps.filter.outputs.app_website == 'true' }}
app-billing-web-changes:
description: 'Shared deps or `apps/billing-web/**` changed.'
description: 'Shared deps, `apps/billing-web/**`, or the billing-web unit workflow changed.'
value: ${{ github.event_name != 'pull_request' || steps.filter.outputs.deps == 'true' || steps.filter.outputs.app_billing_web == 'true' }}
app-frontend-changes:
description: 'Shared deps or `src/**` changed.'
Expand Down Expand Up @@ -78,6 +78,7 @@ runs:
- 'scripts/cicd/check-website-e2e-result.sh'
app_billing_web:
- 'apps/billing-web/**'
- '.github/workflows/ci-billing-web-unit.yaml'
app_frontend:
- 'src/**'
packages:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-billing-web-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
working-directory: ./apps/billing-web
files: ./coverage/lcov.info
disable_search: true
flags: billing-web
flags: billing-web-unit
# Re-root LCOV paths to prevent collisions with root-app coverage.
network_prefix: apps/billing-web/
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
24 changes: 23 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ coverage:
- apps/website/src/**
flag_coverage_not_uploaded_behavior: pass

billing-web:
target: auto
threshold: '1%'
informational: true
flags:
- billing-web-unit
paths:
- apps/billing-web/src/**
flag_coverage_not_uploaded_behavior: pass

patch:
default:
informational: true
Expand All @@ -31,6 +41,17 @@ coverage:
- apps/website/src/**
flag_coverage_not_uploaded_behavior: pass

# Likewise for billing-web.
billing-web:
target: '80%'
threshold: '0%'
informational: true
flags:
- billing-web-unit
paths:
- apps/billing-web/src/**
flag_coverage_not_uploaded_behavior: pass

# Coverage is instrumented over src/** only (see `coverage.include` in
# vite.config.mts), so build and developer tooling has no coverage data to
# report. Without this, changing a file under tools/ counts every one of its
Expand Down Expand Up @@ -61,7 +82,8 @@ flags:
paths:
- apps/website/src/**
carryforward: false
billing-web:
# Likewise for billing-web.
billing-web-unit:
paths:
- apps/billing-web/src/**
carryforward: false
Loading