Skip to content

Commit

Permalink
upload artifacts as well as update reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain89 committed Oct 9, 2023
1 parent 2036205 commit af84e3e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ jobs:
run: pnpm run test:e2e --filter @kadena/tools
env:
CI: true

- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
7 changes: 6 additions & 1 deletion packages/tools/heft-rig/playwright.config.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ export const defaultConfig = {
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 4 : 1,
reporter: process.env.CI ? 'github' : 'list',
reporter: process.env.CI
? [
['github'],
['html', { open: 'never' }],
]
: [['list'], ['html', { open: 'never' }]],
use: {
headless: !!process.env.CI,
baseURL: process.env.PLAYWRIGHT_BASE_URL
Expand Down

0 comments on commit af84e3e

Please sign in to comment.