Skip to content

Commit

Permalink
Adding variable for the continue on error
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Mar 29, 2024
1 parent aa12eac commit 7f1fc32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/daily-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
with:
deploy_url: ${{ inputs.deploy_url || 'https://ssw.com.au' }}
tests_to_run: ${{ inputs.tests_to_run || 'images'}}
continue-on-failure: true

test-output:
name: Test Output
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/template-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
tests_to_run:
type: string
required: true
continue-on-failure:
type: boolean
required: false
outputs:
artifact-id:
description: "Playwright Artifact ID"
Expand All @@ -21,6 +24,7 @@ jobs:
test:
name: Run Playwright tests
runs-on: ubuntu-latest
continue-on-error: ${{ inputs.continue-on-failure || false }}
outputs:
testPassed: ${{ steps.onFailure.outputs.testPassed || 'True' }}
artifact-id: ${{ steps.artifact-report.outputs.artifact-id }}
Expand Down

0 comments on commit 7f1fc32

Please sign in to comment.