-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run cypress tests on release 3.15 (#4892)
* Run cy manually on 3.15 * Add base url to config * Fix run tests on release 3.15 * Fix run tests on release 3.15
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: combine-e2e-results | ||
description: "Combines reports from matrix and upload them as one" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: npm | ||
- name: Cache node modules | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-qa-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-qa-${{ env.cache-name }}- | ||
${{ runner.os }}-qa- | ||
${{ runner.os }}- | ||
- name: Install Dependencies | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
shell: bash | ||
run: NODE_OPTIONS=--max_old_space_size=4096 npm ci | ||
- run: npm ci | ||
shell: bash | ||
working-directory: .github/workflows | ||
- name: Download reports artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: ./cypress/reports | ||
- name: Create reports dir | ||
shell: bash | ||
continue-on-error: true | ||
run: npm run qa:create-artifacts-dirs | ||
- name: Merge report files | ||
shell: bash | ||
continue-on-error: true | ||
run: npm run qa:generate-html-report | ||
- name: Move artifacts screenshots into reports dir | ||
shell: bash | ||
continue-on-error: true | ||
run: npm run qa:artifact-move-screenshots | ||
- name: Upload reports | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: combined-report | ||
path: ./cypress/reports | ||
retention-days: 5 | ||
if-no-files-found: ignore |