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

Update smoketests.yml - change e2e skip term #7194

Merged
merged 2 commits into from
Feb 29, 2024
Merged
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
7 changes: 4 additions & 3 deletions .github/workflows/smoketests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
echo "preview_url=$(cat ./pr/PREVIEW_URL)" >> $GITHUB_OUTPUT
echo "branch_name=$(cat ./pr/BRANCHNAME)" >> $GITHUB_OUTPUT
echo "user_name=$(cat ./pr/USERNAME)" >> $GITHUB_OUTPUT
echo "draft=$(cat ./pr/DRAFT)" >> $GITHUB_OUTPUT
- name: Checkout external repository with Cypress tests
uses: actions/checkout@v4
Expand All @@ -48,7 +49,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: (!steps.pr_information.outputs.draft)
uses: cypress-io/github-action@v6
with:
# Records to Cypress Cloud
Expand All @@ -71,7 +72,7 @@ jobs:

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