Remove *.log files from snapshot artifacts

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-01-04 17:37:06 +01:00
parent d31981f4ad
commit 57600c8adf
+8
View File
@@ -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()