configgure codecov

This commit is contained in:
Rene Haas
2022-08-17 15:30:46 +02:00
parent 6cb49223c7
commit 7e2d2bed9a
2 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
flags: unit
files: "**/jest/coverage*.json"
- name: Run Playwright
run: xvfb-run npm run playwright
run: xvfb-run npm run playwright sizeObserver
- uses: codecov/codecov-action@v3
with:
flags: ui
+8 -7
View File
@@ -42,13 +42,14 @@
"sideEffects": ["*.css", "*.scss", "*.sass"],
"scripts": {
"build": "rollup -c",
"test": "jest --coverage --runInBand --detectOpenHandles && playwright test",
"jest": "jest --coverage --runInBand --detectOpenHandles --testPathPattern",
"postjest": "full-coverage",
"jest:node": "jest --runInBand --detectOpenHandles --selectProjects node --testPathPattern",
"jest:jsdom": "jest --runInBand --detectOpenHandles --selectProjects jsdom --testPathPattern",
"test": "jest --coverage && playwright test",
"jest": "jest --coverage --testPathPattern",
"jest:node": "jest --selectProjects node --testPathPattern",
"jest:jsdom": "jest --selectProjects jsdom --testPathPattern",
"playwright": "playwright test",
"postplaywright": "playwright-merge-coverage && full-coverage",
"playwright:dev": "playwright test --workers 1 --timeout 0 --global-timeout 0"
"playwright:dev": "playwright test --workers 1 --timeout 0 --global-timeout 0",
"posttest": "playwright-merge-coverage && full-coverage",
"postjest": "full-coverage",
"postplaywright": "playwright-merge-coverage && full-coverage"
}
}