2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

[CI] Re-add playwright reporting (#6992)

* re-add playwright reporting
now a bit more ressource optimised

* only upload if the tests faild
This commit is contained in:
Matthias Mair
2024-04-10 16:00:30 +01:00
committed by GitHub
parent 80475c57b2
commit 0d59f6e8a9
2 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export default defineConfig({
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
workers: process.env.CI ? 2 : undefined,
reporter: process.env.CI ? 'github' : 'list',
reporter: process.env.CI ? [['html', { open: 'never' }], ['github']] : 'list',
/* Configure projects for major browsers */
projects: [