Skip to content

Commit

Permalink
update test reporting for github
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny committed Jan 18, 2025
1 parent 74b2568 commit 87e06e2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/electron/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: [ '**/*[_.](test|spec).[jt]s(x)?' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'basic', 'github-actions' ] : [ 'default' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'dot', 'github-actions' ] : [ 'default' ],
},
});
2 changes: 1 addition & 1 deletion app/nw/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: [ '**/*[_.](test|spec).[jt]s(x)?' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'basic', 'github-actions' ] : [ 'default' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'dot', 'github-actions' ] : [ 'default' ],
},
});
2 changes: 1 addition & 1 deletion test/vitest.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export default defineConfig({
dir: './web/src',
include: [ '**/*[_.]e2e.[jt]s' ],
exclude: [ '**/engine/websites/**' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'basic', 'github-actions' ] : [ 'default', 'hanging-process' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'dot', 'github-actions'] : [ 'default', 'hanging-process' ],
},
});
2 changes: 1 addition & 1 deletion test/vitest.websites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export default defineConfig({
globalSetup: './test/PuppeteerGlobal.ts',
dir: './web/src/engine/websites',
include: [ '**/*[_.]e2e.[jt]s' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'basic', 'github-actions' ] : [ 'default', 'hanging-process' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'dot', 'github-actions' ] : [ 'default', 'hanging-process' ],
},
});
2 changes: 1 addition & 1 deletion web/scripts/website-metrics.vitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: [ '**/website-metrics.ts' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'basic' ] : [ 'dot' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'dot', 'github-actions' ] : [ 'dot' ],
},
});
2 changes: 1 addition & 1 deletion web/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: [ '**/*[_.](test|spec).[jt]s(x)?' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'basic', 'github-actions' ] : [ 'default' ],
reporters: process.env.GITHUB_ACTIONS ? [ 'dot', 'github-actions' ] : [ 'default' ],
},
});

0 comments on commit 87e06e2

Please sign in to comment.