Skip to content

Just Run Tests

Just Run Tests #95

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:
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 }}
FS_BASIC_AUTH_USERNAME: ${{ secrets.FS_BASIC_AUTH_USERNAME }}
FS_BASIC_AUTH_PASSWORD: ${{ secrets.FS_BASIC_AUTH_PASSWORD }}
AWS_ACCOUNT: ${{ secrets.AWS_ACCOUNT }}
run_shared_tests_test:
if: ${{ always() && inputs.test == true }}
uses: ./.github/workflows/run-shared-tests.yml
with:
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 }}
FS_BASIC_AUTH_USERNAME: ${{ secrets.FS_BASIC_AUTH_USERNAME }}
FS_BASIC_AUTH_PASSWORD: ${{ secrets.FS_BASIC_AUTH_PASSWORD }}
AWS_ACCOUNT: ${{ secrets.AWS_ACCOUNT }}
run_shared_tests_uat:
if: ${{ always() && inputs.uat == true }}
uses: ./.github/workflows/run-shared-tests.yml
with:
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 }}
FS_BASIC_AUTH_USERNAME: ${{ secrets.FS_BASIC_AUTH_USERNAME }}
FS_BASIC_AUTH_PASSWORD: ${{ secrets.FS_BASIC_AUTH_PASSWORD }}
AWS_ACCOUNT: ${{ secrets.AWS_ACCOUNT }}