Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated workflow to take arguments about which e2e tests to execute #122

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
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
12 changes: 11 additions & 1 deletion .github/workflows/post-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ on:
required: false
default: false
type: boolean
run_e2e_tests_application:
required: false
default: true
type: boolean
run_e2e_tests_assessment:
required: false
default: true
type: boolean
# Leave this in for backwards compatibility, but remove once all repos updated to use above inputs
run_e2e_tests:
required: false
default: false
Expand Down Expand Up @@ -62,7 +71,8 @@ jobs:
e2e_tests_target_url_assessment: https://fsd:fsd@assessment.${{ inputs.environment }}.access-funding.test.levellingup.gov.uk
# run_performance_tests: ${{inputs.run_performance_tests}}
run_performance_tests: false
run_e2e_tests: ${{inputs.run_e2e_tests}}
run_e2e_tests_assessment: ${{inputs.run_e2e_tests_assessment}}
run_e2e_tests_application: ${{inputs.run_e2e_tests_application}}
secrets:
FSD_GH_APP_ID: ${{ secrets.FSD_GH_APP_ID }}
FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/run-shared-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ on:
required: false
default: false
type: boolean
run_e2e_tests:
run_e2e_tests_application:
required: false
default: true
type: boolean
run_e2e_tests_assessment:
required: false
default: true
type: boolean
Expand All @@ -56,7 +60,7 @@ on:
jobs:
run_application_e2e_test:
runs-on: ubuntu-latest
if: ${{ inputs.run_e2e_tests == true}}
if: ${{ inputs.run_e2e_tests_application == true}}
defaults:
run:
working-directory: ./funding-service-design-e2e-checks
Expand Down Expand Up @@ -101,7 +105,7 @@ jobs:

run_assessment_e2e_test:
runs-on: ubuntu-latest
if: ${{ inputs.run_e2e_tests == true}}
if: ${{ inputs.run_e2e_tests_assessment == true}}
defaults:
run:
working-directory: ./funding-service-design-e2e-checks
Expand Down
Loading