Skip to content

Commit

Permalink
Merge demo test artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Jan 16, 2025
1 parent 26dca19 commit a70b596
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/demos_visual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,33 @@ jobs:
if: failure() && matrix.STRATEGY == 'screenshots'
uses: actions/upload-artifact@v4
with:
name: screenshots
name: screenshots-${{ replace(matrix.CONSTEL, '/', '-') }}-${{ matrix.THEME }}
path: ${{ github.workspace }}/apps/demos/testing/artifacts/compared-screenshots/**/*
if-no-files-found: ignore

- name: Copy accessibility report
if: matrix.STRATEGY == 'accessibility'
uses: actions/upload-artifact@v4
with:
name: accessibility-reports
name: accessibility-reports-${{ replace(matrix.CONSTEL, '/', '-') }}-${{ matrix.THEME }}
path: apps/demos/testing/artifacts/axe-reports/*
if-no-files-found: ignore


merge:
runs-on: devextreme-shr2
needs: testcafe
steps:
- name: Merge screenshot artifacts
uses: actions/upload-artifact/merge@v4
with:
name: screenshots
pattern: screenshots-*
delete-merged: true

- name: Merge accessibility reports
uses: actions/upload-artifact/merge@v4
with:
name: accessibility-reports
pattern: accessibility-reports-*
delete-merged: true
13 changes: 12 additions & 1 deletion .github/workflows/demos_visual_tests_frameworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,17 @@ jobs:
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: screenshots
name: screenshots-${{ replace(matrix.CONSTEL, '/', '-') }}-${{ matrix.THEME }}
path: ${{ github.workspace }}/apps/demos/testing/artifacts/compared-screenshots/**/*
if-no-files-found: ignore

merge:
runs-on: devextreme-shr2
needs: testcafe
steps:
- name: Merge screenshot artifacts
uses: actions/upload-artifact/merge@v4
with:
name: screenshots
pattern: screenshots-*
delete-merged: true

0 comments on commit a70b596

Please sign in to comment.