mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
Split up visual markdown specs into sections
So that it's easier to spot changes. Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -76,13 +76,21 @@ jobs:
|
||||
npm run test:e2e -- --project ${{ matrix.browser }};
|
||||
fi
|
||||
|
||||
# We don't care about the logs in visual snapshot tests, only the images.
|
||||
# If a build succeeds, clear any artifacts from failed retries, so they
|
||||
# don't end up in the visual diff archive.
|
||||
- name: Cleanup artifacts
|
||||
if: success()
|
||||
run: |
|
||||
rm -rf tests/artifacts/*
|
||||
|
||||
# We don't care about 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
|
||||
shopt -s globstar;
|
||||
rm -rf tests/artifacts/**/*.log;
|
||||
fi
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user