Browse Source

chore(action): run screenshot step even if previous step failed

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1668/head
Pranav C 3 years ago
parent
commit
ef50b28f2c
  1. 14
      .github/workflows/ci-cd.yml

14
.github/workflows/ci-cd.yml

@ -58,6 +58,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -102,6 +103,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -146,6 +148,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -190,6 +193,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -225,7 +229,7 @@ jobs:
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
start: | start: |
npm run build:common npm run build:common
npm run start:api:cache npm run start:api:cache
npm run start:web npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d docker-compose -f ./scripts/docker-compose-cypress.yml up -d
@ -234,6 +238,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -278,6 +283,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -322,6 +328,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -366,6 +373,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -410,6 +418,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -454,6 +463,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -498,6 +508,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots
@ -542,6 +553,7 @@ jobs:
wait-on-timeout: 1200 wait-on-timeout: 1200
config-file: scripts/cypress/cypress.json config-file: scripts/cypress/cypress.json
- name: Upload screenshots - name: Upload screenshots
if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: restTableOps-snapshots name: restTableOps-snapshots

Loading…
Cancel
Save