add scoped coverage reporting

This commit is contained in:
4gray committed 2026-06-02 15:02:24 +02:00
1 parent ade043d427
commit fb576d7a78
31 files changed
+1407 -45

No files matched your search

+24 -3
View File
@@ -13,7 +13,7 @@ jobs:
unit-and-typecheck:
name: Unit Tests and Typechecks
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 45
steps:
- name: Checkout code
@@ -37,8 +37,29 @@ jobs:
- name: Check i18n drift
run: pnpm run i18n:check
- name: Run curated Nx unit test suite
run: pnpm run test:unit:ci
- name: Run Tier A unit coverage suite
run: pnpm run coverage:ci
env:
CI: true
NX_TASKS_RUNNER_DYNAMIC_OUTPUT: false
- name: Upload unit coverage artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: unit-coverage
path: |
coverage/merged/
retention-days: 14
- name: Upload unit coverage to Codecov
if: always()
uses: codecov/codecov-action@v6
with:
files: ./coverage/merged/lcov.info,./coverage/merged/cobertura-coverage.xml
flags: unit
name: iptvnator-unit
fail_ci_if_error: false
handle_no_reports_found: true
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}