This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
98 lines (78 loc) · 2.1 KB
/
test-applications.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: Test Demo Applications
on:
pull_request:
branches:
- '**'
jobs:
test-oidc-provider:
name: Test OIDC Provider
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-node@v3
with:
node-version: '17'
- name: Install Dependencies
run: npm ci
working-directory: oidc_provider
- name: Build Provider
run: npm run build
working-directory: oidc_provider
test-oidc-app:
name: Test OIDC App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-node@v3
with:
node-version: '17'
- name: Install Dependencies
run: npm ci
working-directory: oidc_app
- name: Linting
run: npm run lint
working-directory: oidc_app
- name: Build App
run: npm run build
working-directory: oidc_app
test-oidc-api:
name: Test OIDC API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.201
- name: Build API
run: dotnet build --configuration Release
working-directory: oidc_api
test-basic-auth-api:
name: Test Basic Auth API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.17.7'
- name: Install dependencies
run: go mod download && go mod verify
working-directory: basic_auth_api
- name: Build API
run: go build
working-directory: basic_auth_api
test-basic-auth-backend-app:
name: Test Basic Auth Backend App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.201
- name: Build App
run: dotnet build --configuration Release
working-directory: basic_auth_backend_app