Conversation
| suppressPassed: false, | ||
| suppressSkipped: true, | ||
| showSpecTiming: false, | ||
| failFast: false |
There was a problem hiding this comment.
haiilo values detected :)
There was a problem hiding this comment.
thanks! karma config file is so much better now
| collectCoverage: true, | ||
| coverageDirectory: 'coverage', | ||
| coverageReporters: ['text', 'lcov', 'html', 'json-summary'], | ||
| coveragePathIgnorePatterns: ['/node_modules/', '/.stencil/', '/dist/', '/www/', '/loader/'] |
There was a problem hiding this comment.
do we want to use collectCoverageFrom in addition? for example only ts and tsx files
There was a problem hiding this comment.
Good one! I added that so that test and type files are explicitly excluded from coverage.
This is from Copilot:
This gives cleaner coverage metrics focusing only on production code, not test files. You can tell your colleague this is a good suggestion and I've added it with the standard exclusion patterns for test files and type definitions.
😆
| - name: Build dependencies | ||
| run: | | ||
| pnpm run build:tokens | ||
| pnpm run build:core |
There was a problem hiding this comment.
you might also need to add
pnpm run build:angular
pnpm run build:angular-formly
to make tests work
There was a problem hiding this comment.
Thanks, that was missing indeed :)
This reverts commit ffbe76b.
# Conflicts: # .github/workflows/angular.yml # angular/package.json # angular/projects/catalyst-demo/karma.conf.js # angular/projects/catalyst-formly/karma.conf.js # angular/projects/catalyst/karma.conf.js # angular/projects/catalyst/src/lib/datetime/datetime.component.spec.ts # angular/projects/catalyst/src/lib/dialog/dialog.component.spec.ts # angular/projects/catalyst/src/lib/dialog/dialog.service.spec.ts # pnpm-lock.yaml
# Conflicts: # pnpm-lock.yaml
LCOV of commit
|
…e pipeline on new code coverage
Core Coverage ReportCoverage after merging ci/coverage-reporter into main will be
Coverage Report for Changed Files
|
Angular Coverage ReportCoverage after merging ci/coverage-reporter into main will be
Coverage Report for Changed Files
|
Overview
Sets up code coverage collection and reporting for both Core (Stencil) and Angular packages in CI.
What's Included
Core Package
Angular Package
Security
contents: read,pull-requests: write) following principle of least privilegeNotes
filter-changed-files: trueto only consider changed filesWhat's Not Included