chore(ci): Upload screenshots on test failure
This commit is contained in:
parent
1f7a648057
commit
019e38a746
1 changed files with 7 additions and 0 deletions
|
@ -121,6 +121,13 @@ jobs:
|
|||
USE_REPO_TEST_DIR: 1
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||
CHANGED_FILES: ${{steps.changed-files.outputs.all_changed_files}}
|
||||
- name: Upload screenshots on failure
|
||||
if: failure()
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: screenshots.zip
|
||||
path: /workspace/forgejo/forgejo/tests/e2e/test-artifacts/*/*.png
|
||||
retention-days: 3
|
||||
test-remote-cacher:
|
||||
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||
runs-on: docker
|
||||
|
|
Loading…
Reference in a new issue