Skip to content

Just Run Tests

Just Run Tests #40

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_application:
required: false
default: true
type: boolean
description: Run e2e tests (application)
run_e2e_tests_assessment:
required: false
default: true
type: boolean
description: Run e2e tests (assessment)
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://${{ secrets.FS_BASIC_AUTH_USERNAME }}:${{ secrets.FS_BASIC_AUTH_PASSWORD }}@frontend.dev.access-funding.test.levellingup.gov.uk

Check failure on line 40 in .github/workflows/just-run-tests.yml

View workflow run for this annotation

GitHub Actions / Just Run Tests

Invalid workflow file

The workflow is not valid. .github/workflows/just-run-tests.yml (Line: 40, Col: 38): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.FS_BASIC_AUTH_USERNAME .github/workflows/just-run-tests.yml (Line: 41, Col: 43): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.FS_BASIC_AUTH_USERNAME
e2e_tests_target_url_authenticator: https://${{ secrets.FS_BASIC_AUTH_USERNAME }}:${{ secrets.FS_BASIC_AUTH_PASSWORD }}@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://${{ secrets.FS_BASIC_AUTH_USERNAME }}:${{ secrets.FS_BASIC_AUTH_PASSWORD }}@assessment.dev.access-funding.test.levellingup.gov.uk
run_performance_tests: ${{inputs.run_performance_tests}}
run_e2e_tests_application: ${{inputs.run_e2e_tests_application}}
run_e2e_tests_assessment: ${{inputs.run_e2e_tests_assessment}}
env_name: dev
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://${{ secrets.FS_BASIC_AUTH_USERNAME }}:${{ secrets.FS_BASIC_AUTH_PASSWORD }}@frontend.test.access-funding.test.levellingup.gov.uk
e2e_tests_target_url_authenticator: https://${{ secrets.FS_BASIC_AUTH_USERNAME }}:${{ secrets.FS_BASIC_AUTH_PASSWORD }}@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://${{ secrets.FS_BASIC_AUTH_USERNAME }}:${{ secrets.FS_BASIC_AUTH_PASSWORD }}@assessment.test.access-funding.test.levellingup.gov.uk
run_performance_tests: ${{inputs.run_performance_tests}}
run_e2e_tests_application: ${{inputs.run_e2e_tests_application}}
run_e2e_tests_assessment: ${{inputs.run_e2e_tests_assessment}}
env_name: test
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_application: ${{inputs.run_e2e_tests_application}}
run_e2e_tests_assessment: ${{inputs.run_e2e_tests_assessment}}
env_name: uat
secrets:
FSD_GH_APP_ID: ${{ secrets.FSD_GH_APP_ID }}
FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }}