mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-15 06:09:58 +08:00
add coverage report
This commit is contained in:
parent
91763122c7
commit
fe821c3e8b
@ -59,7 +59,7 @@ jobs:
|
||||
|
||||
- script: |
|
||||
yarn lint
|
||||
yarn test --ci --reporters=default --reporters=jest-junit --coverage
|
||||
yarn test --ci --reporters=default --reporters=jest-junit --coverage --coverageReporters=cobertura
|
||||
displayName: 'Run Test'
|
||||
|
||||
- task: PublishTestResults@2
|
||||
@ -67,3 +67,7 @@ jobs:
|
||||
inputs:
|
||||
testRunner: JUnit
|
||||
testResultsFiles: './junit.xml'
|
||||
|
||||
- task: PublishCodeCoverageResults@1
|
||||
codeCoverageTool: cobertura
|
||||
summaryFileLocation: ./coverage/cobertura-coverage.xml
|
||||
|
Loading…
Reference in New Issue
Block a user