-
Notifications
You must be signed in to change notification settings - Fork 1
75 lines (72 loc) · 2.55 KB
/
build-and-test.yml
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
name: Build & Test
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
on:
push:
branches: ["main", "release-*"]
pull_request:
paths:
- '.github/workflows/build-and-test.yml'
- '.github/workflows/build-and-test-template.yml'
- 'src/**'
jobs:
build_and_test:
name: Test - ${{ matrix.job_name }}
strategy:
fail-fast: false
matrix:
working_directory:
[
service/notification-api,
service/idam-api,
service/service-directory-api,
service/referral-api,
service/report-api,
service/mock-hsda-api,
function/open-referral-function,
ui/connect-ui,
ui/find-ui,
ui/idam-maintenance-ui,
ui/manage-ui,
shared/referral-shared,
shared/service-directory-shared,
shared/shared-kernel,
shared/web-components
]
include:
- working_directory: service/notification-api
job_name: "Notification API"
- working_directory: service/idam-api
job_name: "IDAM API"
- working_directory: service/service-directory-api
job_name: "Service Directory API"
- working_directory: service/referral-api
job_name: "Referral API"
- working_directory: service/report-api
job_name: "Report API"
- working_directory: service/mock-hsda-api
job_name: "Mock HSDA API"
- working_directory: function/open-referral-function
job_name: "Open Referral Function"
- working_directory: ui/connect-ui
job_name: "Connect UI"
- working_directory: ui/find-ui
job_name: "Find UI"
- working_directory: ui/idam-maintenance-ui
job_name: "IDAM Maintenance UI"
- working_directory: ui/manage-ui
job_name: "Manage UI"
- working_directory: shared/referral-shared
job_name: "Referral Shared"
- working_directory: shared/service-directory-shared
job_name: "Service Directory Shared"
- working_directory: shared/shared-kernel
job_name: "Kernel Shared"
- working_directory: shared/web-components
job_name: "Web Components Shared"
uses: ./.github/workflows/build-and-test-template.yml
with:
working_directory: ${{ matrix.working_directory }}
dotnet_version: ${{ vars.DOTNET_VERSION_V8 }}
job_name: ${{ matrix.job_name }}