Skip to content

Commit

Permalink
ci: upload test artefacts from playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed May 9, 2023
1 parent a06d44a commit cd9a02d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ jobs:
run: npm run serve:all:prod & (npx wait-on tcp:3000 && npx wait-on http://localhost:4200 && npx nx e2e spa-e2e)
env:
E2E_BASE_URL: http://localhost:4200/
- uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-test-results
path: test-results/
if-no-files-found: ignore

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/next-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ jobs:
env:
E2E_BASE_URL: ${{ needs.deployment.outputs.spaUrl }}
AADB2C_TEST_USERS: ${{ secrets.E2E_TEST_USERS }}
- uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-test-results
path: test-results/
if-no-files-found: ignore

0 comments on commit cd9a02d

Please sign in to comment.