-
Notifications
You must be signed in to change notification settings - Fork 0
81 lines (71 loc) · 1.6 KB
/
Copy pathuat.yml
File metadata and controls
81 lines (71 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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