Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix merge reports after tests #5358

Open
wants to merge 8 commits into
base: 3.18
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/lazy-actors-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Now CI workflows use updated action to upload and download artifacts
2 changes: 1 addition & 1 deletion .github/actions/combineReportsFromE2E/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
shell: bash
working-directory: .github/workflows
- name: Download reports artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ./cypress/reports
- name: Create reports dir
Expand Down
25 changes: 1 addition & 24 deletions .github/actions/testmo/testmo-threads-submit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,4 @@ runs:
TESTMO_URL: ${{ inputs.testmoUrl }}
TESTMO_TOKEN: ${{ inputs.testmoToken }}
TESTMO_RUN_ID: ${{ inputs.testmoRunId}}
- name: Download reports artifacts
uses: actions/download-artifact@v3
with:
path: ./cypress/reports
- name: Create reports dir
continue-on-error: true
shell: bash
run: npm run qa:create-artifacts-dirs
- name: Merge report files
continue-on-error: true
shell: bash
run: npm run qa:generate-html-report
- name: Move artifacts screenshots into reports dir
continue-on-error: true
shell: bash
run: npm run qa:artifact-move-screenshots
- name: Upload reports
uses: actions/upload-artifact@v4
if: always()
with:
name: combined-report
path: ./cypress/reports
retention-days: 5
if-no-files-found: ignore

2 changes: 1 addition & 1 deletion .github/workflows/pr-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ jobs:
run: npm ci

- name: Download blob reports from GitHub Actions Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: all-blob-reports
path: all-blob-reports
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run-test-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
VERSION_SLUG=$(echo "${CURRENT_BRANCH}" | sed "s/\.//")
echo "BASE_URL=https://v${VERSION_SLUG}.staging.saleor.cloud/dashboard/" >> $GITHUB_OUTPUT
echo "API_URL=https://v${VERSION_SLUG}.staging.saleor.cloud/graphql/" >> $GITHUB_OUTPUT


- uses: ./.github/actions/testmo/testmo-init
with:
Expand Down
Loading