mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
Remove *.log files from snapshot artifacts
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -76,6 +76,14 @@ jobs:
|
||||
npm run test:e2e -- --project ${{ matrix.browser }};
|
||||
fi
|
||||
|
||||
# We don't care about the logs in visual snapshot tests, only the images.
|
||||
- name: Cleanup artifacts
|
||||
if: always()
|
||||
run: |
|
||||
if [ ${{ matrix.browser }} = "visual" ]; then
|
||||
shopt -s globstar
|
||||
rm -rf tests/visual/snapshots/**/*.log
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user