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

Commit

Permalink
Merge pull request #71 from DFE-Digital/cshnimble-patch-1
Browse files Browse the repository at this point in the history
Set needs for cypress tests workflow
  • Loading branch information
cshnimble authored May 29, 2024
2 parents 44a7a15 + a56e573 commit 5149c96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:

cypress-tests:
name: Run Cypress Tests
needs: [ set-env, deploy-image ]
if: needs.set-env.outputs.environment == 'test' || needs.set-env.outputs.environment == 'development'
uses: ./.github/workflows/cypress-tests.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
run: npm install

- name: Run Cypress (${{ inputs.environment }})
if: inputs.environment == 'staging' || inputs.environment == 'dev'
if: inputs.environment == 'staging' || inputs.environment == 'development'
run: npm run cy:run -- --env apiKey="${{ secrets.IDENTIFIERS_API_KEY }}",url="${{ secrets.IDENTIFIERS_API_BASE_URL }}"

0 comments on commit 5149c96

Please sign in to comment.