Reverting changes
This commit is contained in:
parent
eaab6b335c
commit
4d512bb1a2
3 changed files with 0 additions and 1985 deletions
|
|
@ -44,31 +44,6 @@ stages:
|
|||
npmLocation: $(Build.SourcesDirectory)
|
||||
testResultsFile: junit.xml
|
||||
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
||||
- stage: TestReport
|
||||
displayName: Test report
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
checks: write
|
||||
jobs:
|
||||
build-test:
|
||||
name: Build & Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3 # checkout the repo
|
||||
- run: npm ci # install packages
|
||||
- run: npm test # run tests (configured to use jest-junit reporter)
|
||||
|
||||
- name: Test Report
|
||||
uses: dorny/test-reporter@v1
|
||||
if: success() || failure() # run this step even if previous step failed
|
||||
with:
|
||||
name: JEST Tests # Name of the check run which will be created
|
||||
path: reports/jest-*.xml # Path to test results
|
||||
reporter: jest-junit # Format of test results
|
||||
|
||||
- ${{ else }}:
|
||||
# Dev Build/Deploy
|
||||
|
|
|
|||
11
package.json
11
package.json
|
|
@ -11,7 +11,6 @@
|
|||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"test": "jest --ci --reporters=default --reporters=jest-junit",
|
||||
"test:unit": "vue-cli-service test:unit --coverage --ci --colors",
|
||||
"test:unit:lite": "vue-cli-service test:unit --ci"
|
||||
},
|
||||
|
|
@ -51,7 +50,6 @@
|
|||
"eslint-plugin-vue": "^9.15.1",
|
||||
"jest": "^27.0.5",
|
||||
"jest-junit": "^13.0.0",
|
||||
"jest-serializer-vue": "^3.1.0",
|
||||
"jsdoc": "^4.0.2",
|
||||
"jsdom": "^22.1.0",
|
||||
"sass": "^1.32.7",
|
||||
|
|
@ -59,14 +57,5 @@
|
|||
"vite": "^4.4.6",
|
||||
"vitest": "^0.33.0",
|
||||
"volar-service-vetur": "latest"
|
||||
},
|
||||
"jest-junit": {
|
||||
"outputDirectory": "reports",
|
||||
"outputName": "jest-junit.xml",
|
||||
"ancestorSeparator": " › ",
|
||||
"uniqueOutputName": "false",
|
||||
"suiteNameTemplate": "{filepath}",
|
||||
"classNameTemplate": "{classname}",
|
||||
"titleTemplate": "{title}"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue