Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Update smoketests.yml - change e2e skip term
Browse files Browse the repository at this point in the history
If the term 'skipsm' is specified in the branch name then skip the e2e tests (used to be 'quill').

This is because the dev knows they are making radical change which will need the tests to be modified at a later date.
  • Loading branch information
markodonnell-deriv authored Feb 29, 2024
1 parent 45e7b64 commit 80adf39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/smoketests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Cypress run
# Uses the official Cypress GitHub action https://github.com/cypress-io/github-action
if: "!contains(steps.pr_information.outputs.branch_name, 'quill')"
if: "!contains(steps.pr_information.outputs.branch_name, 'skipsm')"
uses: cypress-io/github-action@v6
with:
# Records to Cypress Cloud
Expand All @@ -71,7 +71,7 @@ jobs:

- name: Set comments message
id: set_msg
if: always() && !contains(steps.pr_information.outputs.branch_name, 'quill')
if: always() && !contains(steps.pr_information.outputs.branch_name, 'skipsm')
run: |
# Using shell script to conditionally set the message
if [[ "${{ job.status }}" == "success" ]]; then
Expand All @@ -81,7 +81,7 @@ jobs:
fi
- name: Leave comment
if: always() && !contains(steps.pr_information.outputs.branch_name, 'quill')
if: always() && !contains(steps.pr_information.outputs.branch_name, 'skipsm')
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Smoke tests status update
Expand Down

0 comments on commit 80adf39

Please sign in to comment.