Skip to content

Commit

Permalink
chore: upload cypress screenshots on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora committed Dec 29, 2023
1 parent 74edd3c commit acec7d7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ jobs:
sonar_token: ${{ secrets.SONAR_TOKEN_FRONTEND }}
triggers: ('frontend/')

- uses: actions/upload-artifact@v4
name: Upload Cypress Screenshots with error
if: failure()
with:
name: cypress-screenshots
path: frontend/cypress/screenshots
retention-days: 7

codeql:
name: Semantic Code Analysis
runs-on: ubuntu-22.04
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@ jobs:
delete-old-comments: true
github-token: ${{ github.token }}
lcov-file: ./frontend/reports/e2e/lcov.info

- uses: actions/upload-artifact@v4
name: Upload Cypress Screenshots with error
if: failure()
with:
name: cypress-screenshots
path: frontend/cypress/screenshots
retention-days: 7

trivy:
name: Repository Report
Expand Down

0 comments on commit acec7d7

Please sign in to comment.