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
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ jobs:
# instead so tests run once per PR, not twice.
run: npm run test -- --run --coverage

- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: ./Client.React/coverage/coverage-final.json
flags: frontend
fail_ci_if_error: false

- name: Build
run: npm run build
env:
Expand Down
3 changes: 3 additions & 0 deletions Client.React/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export default defineConfig({
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html', 'lcov'],
// CI gate (npm run test -- --run --coverage): fails the build if frontend coverage drops.
// Set a few points under the 2026-10-04 baseline (79.8/80.5/73.9/82.3) — raise as it grows.
thresholds: { statements: 75, branches: 75, functions: 70, lines: 78 },
exclude: [
'node_modules/',
'src/setupTests.ts',
Expand Down
Loading