Skip to content

Commit

Permalink
removed references to envs before deploy steps on pre-prod sandbox te…
Browse files Browse the repository at this point in the history
…st action
  • Loading branch information
Scott Alexander committed Jan 29, 2024
1 parent 866d64d commit 9922fc6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/base-cypress-test-all-env.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
# .github/workflows/terraform-dev
name: 'Z-BASE Cypress Test: Run a cypress test job against all browsers'
name: "Z-BASE Cypress Test: Run a cypress test job against all browsers"

on:
workflow_call:
inputs:
build_branch:
description: 'Branch with smoke tests.'
description: "Branch to run against"
required: true
type: 'string'
type: "string"

permissions:
pull-requests: write
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
cypress_test_chrome:
uses: ./.github/workflows/base-cypress-test.yml
with:
build_branch: main
cypress_broswer: 'chrome'
cypress_test_edge:
uses: ./.github/workflows/base-cypress-test.yml
with:
build_branch: main
cypress_broswer: 'edge'
cypress_test_firefox:
uses: ./.github/workflows/base-cypress-test.yml
with:
build_branch: main
cypress_broswer: 'firefox'
cypress_test_chrome:
uses: ./.github/workflows/base-cypress-test.yml
with:
build_branch: ${{ github.event.inputs.build_branch }}
cypress_broswer: "chrome"
cypress_test_edge:
uses: ./.github/workflows/base-cypress-test.yml
with:
build_branch: ${{ github.event.inputs.build_branch }}
cypress_broswer: "edge"
cypress_test_firefox:
uses: ./.github/workflows/base-cypress-test.yml
with:
build_branch: ${{ github.event.inputs.build_branch }}
cypress_broswer: "firefox"
7 changes: 1 addition & 6 deletions .github/workflows/base-cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ on:
description: 'what browser to run against'
required: true
type: 'string'
environment:
description: "Which Environment settings to use."
required: true
type: "string"
default: "development"

permissions:
pull-requests: write
Expand All @@ -35,7 +30,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.buildBranch }}
ref: ${{ github.event.inputs.build_branch }}

- name: Download the build folder
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full-deploy-to-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
build_branch:
description: "Feature branch to push to test?"
description: "Feature branch to push?"
required: true
type: "string"
default: "main"
Expand Down

0 comments on commit 9922fc6

Please sign in to comment.