-
-
Notifications
You must be signed in to change notification settings - Fork 0
130 lines (102 loc) · 6.61 KB
/
all.yml
File metadata and controls
130 lines (102 loc) · 6.61 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: all
on:
push:
branches:
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 2.2.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.x
- name: Setup .NET 3.1.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Setup .NET 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Setup .NET 6.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: C-Gen - Restore dependencies
run: dotnet restore
working-directory: src/Services/c-gen
- name: C-Gen - Build
run: dotnet build --no-restore
working-directory: src/Services/c-gen
- name: C-Gen - Unit Tests
run: dotnet test Tests.O2NextGen.CertificateManagement.Api.csproj --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/c-gen/Tests/Tests.O2NextGen.CertificateManagement.Api/
- name: check files 1
run: ls
working-directory: src/Services
- name: check files 2
run: ls
working-directory: src/Services/TestResults
- name: C-Gen - Integration Tests
run: dotnet test IntegrationTests.O2NextGen.CertificateManagement.Api.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/c-gen/Tests/IntegrationTests.O2NextGen.CertificateManagement.Api/
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/Services/TestResults/coverage.info
- name: E-Sender - Restore dependencies
run: dotnet restore
working-directory: src/Services/e-sender
- name: E-Sender - Build
run: dotnet build --no-restore
working-directory: src/Services/e-sender
- name: E-Sender - Unit Tests(Tests.O2NextGen.ESender.Api)
run: dotnet test Tests.O2NextGen.ESender.Api.csproj --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutput==../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Api/
- name: E-Sender - Unit Tests (Tests.O2NextGen.ESender.Data)
run: dotnet test Tests.O2NextGen.ESender.Data.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Data/
- name: E-Sender - Unit Tests (Tests.O2NextGen.ESender.Impl)
run: dotnet test Tests.O2NextGen.ESender.Impl.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Impl/
- name: E-Sender - Unit Tests (Tests.O2NextGen.ESender.Business)
run: dotnet test Tests.O2NextGen.ESender.Business.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Business/
# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Api)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Api.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Api/
# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Data)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Data.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Data/
# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Impl)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Impl.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Impl/
# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Business)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Business.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Business/
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/Services/TestResults/coverage.info
- name: Auth - Restore dependencies
run: dotnet restore
working-directory: src/Services/auth
- name: Auth - Build
run: dotnet build --no-restore
working-directory: src/Services/auth
- name: Auth - Unit Tests
run: dotnet test Tests.O2NextGen.Auth.Web.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/auth/Tests/Tests.O2NextGen.Auth.Web/
- name: Auth - Integration Tests
run: dotnet test IntegrationTests.O2NextGen.Auth.Web.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/auth/Tests/IntegrationTests.O2NextGen.Auth.Web/
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/Services/TestResults/coverage.info