mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
chore(ci): upload coverage report to codecov (#6887)
This commit is contained in:
parent
a715a038f4
commit
4614bd2b10
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -227,6 +227,13 @@ jobs:
|
||||
|
||||
- name: test unit
|
||||
run: yarn test:unit --coverage
|
||||
|
||||
- name: codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
if: matrix.os == 'ubuntu-latest' && matrix.node == '10'
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: unittests
|
||||
needs: build
|
||||
|
||||
test-e2e:
|
||||
|
@ -55,10 +55,5 @@ module.exports = {
|
||||
|
||||
moduleNameMapper: {
|
||||
[`@nuxt/(${corePackages.join('|')})(/?.*)$`]: '<rootDir>/packages/$1/src/$2'
|
||||
},
|
||||
|
||||
reporters: [
|
||||
'default',
|
||||
['jest-junit', { outputDirectory: 'reports/junit' }]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,6 @@
|
||||
"improved-yarn-audit": "^1.0.1",
|
||||
"is-wsl": "^2.1.1",
|
||||
"jest": "^24.9.0",
|
||||
"jest-junit": "^10.0.0",
|
||||
"jsdom": "^15.2.1",
|
||||
"klaw-sync": "^6.0.0",
|
||||
"lerna": "^3.20.2",
|
||||
|
18
yarn.lock
18
yarn.lock
@ -6971,17 +6971,6 @@ jest-jasmine2@^24.9.0:
|
||||
pretty-format "^24.9.0"
|
||||
throat "^4.0.0"
|
||||
|
||||
jest-junit@^10.0.0:
|
||||
version "10.0.0"
|
||||
resolved "https://registry.npmjs.org/jest-junit/-/jest-junit-10.0.0.tgz#c94b91c24920a327c9d2a075e897b2dba4af494b"
|
||||
integrity sha512-dbOVRyxHprdSpwSAR9/YshLwmnwf+RSl5hf0kCGlhAcEeZY9aRqo4oNmaT0tLC16Zy9D0zekDjWkjHGjXlglaQ==
|
||||
dependencies:
|
||||
jest-validate "^24.9.0"
|
||||
mkdirp "^0.5.1"
|
||||
strip-ansi "^5.2.0"
|
||||
uuid "^3.3.3"
|
||||
xml "^1.0.1"
|
||||
|
||||
jest-leak-detector@^24.9.0:
|
||||
version "24.9.0"
|
||||
resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a"
|
||||
@ -12149,7 +12138,7 @@ utils-merge@1.0.1:
|
||||
resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
|
||||
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
|
||||
|
||||
uuid@^3.0.1, uuid@^3.3.2, uuid@^3.3.3:
|
||||
uuid@^3.0.1, uuid@^3.3.2:
|
||||
version "3.3.3"
|
||||
resolved "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
|
||||
integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==
|
||||
@ -12667,11 +12656,6 @@ xml-name-validator@^3.0.0:
|
||||
resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
|
||||
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
|
||||
|
||||
xml@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.npmjs.org/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
|
||||
integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=
|
||||
|
||||
xmlchars@^2.1.1:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
|
||||
|
Loading…
Reference in New Issue
Block a user