Skip to content

Commit

Permalink
get back end test results
Browse files Browse the repository at this point in the history
  • Loading branch information
mlapaglia committed Jan 29, 2024
1 parent c3c8d24 commit e6a7a80
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 41 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Test
run: dotnet test --configuration Release --no-build --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Code Coverage Report
- name: Back End Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage/**/coverage.cobertura.xml
Expand Down Expand Up @@ -68,6 +68,19 @@ jobs:
npm run test:prod
npm run lint
- name: Front End Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage/**/coverage.cobertura.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '0 80'

windows-build-push:
needs: build
runs-on: ubuntu-latest
Expand Down
9 changes: 6 additions & 3 deletions openalprwebhookprocessor.client/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/openalprwebhookprocessor.client'),
dir: require('path').join(__dirname, './coverage'),
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' }
{ type: 'cobertura' }
]
},
reporters: ['progress', 'kjhtml'],
preprocessors: {
'src/**/*.ts': ['coverage']
},
reporters: ['progress', 'coverage', 'kjhtml'],
browsers: ['Chrome'],
restartOnFileChange: true
});
Expand Down
68 changes: 31 additions & 37 deletions openalprwebhookprocessor.client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6a7a80

Please sign in to comment.