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 flags: unit
files: "**/jest/coverage*.json" files: "**/jest/coverage*.json"
- name: Run Playwright - name: Run Playwright
run: xvfb-run npm run playwright run: xvfb-run npm run playwright sizeObserver
- uses: codecov/codecov-action@v3 - uses: codecov/codecov-action@v3
with: with:
flags: ui flags: ui
+8 -7
View File
@@ -42,13 +42,14 @@
"sideEffects": ["*.css", "*.scss", "*.sass"], "sideEffects": ["*.css", "*.scss", "*.sass"],
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"test": "jest --coverage --runInBand --detectOpenHandles && playwright test", "test": "jest --coverage && playwright test",
"jest": "jest --coverage --runInBand --detectOpenHandles --testPathPattern", "jest": "jest --coverage --testPathPattern",
"postjest": "full-coverage", "jest:node": "jest --selectProjects node --testPathPattern",
"jest:node": "jest --runInBand --detectOpenHandles --selectProjects node --testPathPattern", "jest:jsdom": "jest --selectProjects jsdom --testPathPattern",
"jest:jsdom": "jest --runInBand --detectOpenHandles --selectProjects jsdom --testPathPattern",
"playwright": "playwright test", "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"
} }
} }