Skip to content

Just Run Tests

Just Run Tests #5

name: Just Run Tests
on:
workflow_dispatch:
inputs:
dev:
required: false
default: false
type: boolean
test:
required: false
default: false
type: boolean
uat:
required: false
default: false
type: boolean
run_performance_tests:
required: false
default: false
type: boolean
description: Run performance tests
run_e2e_tests:
required: false
default: true
type: boolean
description: Run e2e tests
jobs:
run_shared_tests_dev:
if: ${{ always() && inputs.dev == true }}
uses: ./.github/workflows/run-shared-tests.yml
with:
perf_test_target_url_application_store: http://fsd-application-store:8080
perf_test_target_url_fund_store: https://fsd-fund-store:8080
perf_test_target_url_assessment_store: https://fsd-assessment-store:8080
e2e_tests_target_url_frontend: https://frontend.dev.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_authenticator: https://authenticator.dev.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_form_runner: https://forms.dev.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_assessment: https://assessment.dev.access-funding.test.levellingup.gov.uk
run_performance_tests: ${{inputs.run_performance_tests}}
run_e2e_tests: ${{inputs.run_e2e_tests}}
secrets:
FSD_GH_APP_ID: ${{ secrets.FSD_GH_APP_ID }}
FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }}
run_shared_tests_test:
if: ${{ always() && inputs.test == true }}
uses: ./.github/workflows/run-shared-tests.yml
with:
perf_test_target_url_application_store: http://fsd-application-store:8080
perf_test_target_url_fund_store: https://fsd-fund-store:8080
perf_test_target_url_assessment_store: https://fsd-assessment-store:8080
e2e_tests_target_url_frontend: https://frontend.test.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_authenticator: https://authenticator.test.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_form_runner: https://forms.test.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_assessment: https://assessment.test.access-funding.test.levellingup.gov.uk
run_performance_tests: ${{inputs.run_performance_tests}}
run_e2e_tests: ${{inputs.run_e2e_tests}}
secrets:
FSD_GH_APP_ID: ${{ secrets.FSD_GH_APP_ID }}
FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }}
run_shared_tests_uat:
if: ${{ always() && inputs.uat == true }}
uses: ./.github/workflows/run-shared-tests.yml
with:
perf_test_target_url_application_store: http://fsd-application-store:8080
perf_test_target_url_fund_store: https://fsd-fund-store:8080
perf_test_target_url_assessment_store: https://fsd-assessment-store:8080
e2e_tests_target_url_frontend: https://frontend.uat.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_authenticator: https://authenticator.uat.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_form_runner: https://forms.uat.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_assessment: https://assessment.uat.access-funding.test.levellingup.gov.uk
run_performance_tests: ${{inputs.run_performance_tests}}
run_e2e_tests: ${{inputs.run_e2e_tests}}
secrets:
FSD_GH_APP_ID: ${{ secrets.FSD_GH_APP_ID }}
FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }}