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 e9d0aad commit 3acdc73
Show file tree
Hide file tree
Showing 3 changed files with 35 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-${{ 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-${{ 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-${{ 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
2 changes: 2 additions & 0 deletions .github/workflows/testcafe_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,14 @@ jobs:
with:
name: compared-screenshots
pattern: compared-screenshots-*
delete-merged: true

- name: Merge failed test artifacts
uses: actions/upload-artifact/merge@v4
with:
name: failed-tests
pattern: failed-tests-*
delete-merged: true

notify:
runs-on: devextreme-shr2
Expand Down

0 comments on commit 3acdc73

Please sign in to comment.