Skip to content

UAT

UAT #2160

Workflow file for this run

name: UAT
permissions:
contents: read
pull-requests: write
deployments: write
on:
push:
branches:
- main
schedule:
- cron: '0 7 * * *'
jobs:
setup:
uses: ./.github/workflows/setup-workflow.yml
with:
branch-name: 'main'
deploy-requested: true
build:
needs:
- setup
uses: ./.github/workflows/build.yml
with:
ignore_sizes: false
commit-sha: ${{ github.sha }}
publish:
needs:
- setup
uses: ./.github/workflows/publish.yml
with:
upload: true
branch-name: 'main'
commit-sha: ${{ github.sha }}
commit-date: ${{ needs.setup.outputs.commit-date }}
frame-host-url: "http://thecourageleague.co.uk"
ui_tests:
needs:
- setup
uses: ./.github/workflows/ui-test.yml
report_tests:
runs-on: ubuntu-latest
name: report / test results
needs:
- publish
- build
- ui_tests
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Trigger test analysis
if: success() || failure()
shell: pwsh
run: ./Scripts/TriggerTestFailureAnalysis.ps1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_COMMENT_TOKEN: ${{ secrets.REPORT_FAILURES_PAT }}
deploy_uat:
needs:
- build
- publish
uses: ./.github/workflows/deploy.yml
with:
environment-name: 'UAT'
app-name: 'CourageLeagueUat'
secrets:
publish-profile: ${{ secrets.PUBLISHPROFILE_UAT }}
report:
needs:
- build
- publish
uses: ./.github/workflows/publish_coverage.yml