Skip to content

Commit de4077d

Browse files
committed
chore(ci): control test report & coverage for cli args
1 parent b3eb686 commit de4077d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
no-turbo-cache: 'true'
2929

3030
- name: Run Test
31-
run: pnpm run test
31+
run: pnpm run test --coverage --reporter=junit
3232

3333
- name: Upload coverage reports to Codecov
3434
uses: codecov/codecov-action@v3

vitest.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@ import { defineConfig } from 'vitest/config'
22

33
export default defineConfig({
44
test: {
5-
dir: './src',
65
environment: 'happy-dom',
76
coverage: {
8-
enabled: true,
97
provider: 'istanbul',
108
},
11-
reporters: [
12-
'junit',
13-
],
149
outputFile: {
1510
junit: './test-reports/junit.xml',
1611
},

0 commit comments

Comments
 (0)