Skip to content

Commit 0a7f43e

Browse files
committed
feat: new client
1 parent f509be5 commit 0a7f43e

File tree

78 files changed

+4041
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+4041
-259
lines changed

.github/workflows/build.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build_And_Test
1+
name: Build_And_UnitTest
22

33
on:
44
push:
@@ -39,25 +39,31 @@ jobs:
3939
4040
- name: Build with dotnet
4141
run: |
42-
dotnet build src/Dtmcli/Dtmcli.csproj
42+
ls
43+
dotnet build src/Dtmcli/Dtmcli.csproj
44+
dotnet build src/Dtmgrpc/Dtmgrpc.csproj
4345
4446
- name: Run tests on netcoreapp3.1
4547
run: |
46-
dotnet test --framework=netcoreapp3.1 src/Dtmcli.Tests/Dtmcli.Tests.csproj
48+
dotnet test --framework=netcoreapp3.1 tests/Dtmcli.Tests/Dtmcli.Tests.csproj
49+
dotnet test --framework=netcoreapp3.1 tests/Dtmgrpc.Tests/Dtmgrpc.Tests.csproj
4750
4851
- name: Run tests on net5.0
4952
run: |
50-
dotnet test --framework=net5.0 src/Dtmcli.Tests/Dtmcli.Tests.csproj
53+
dotnet test --framework=net5.0 tests/Dtmcli.Tests/Dtmcli.Tests.csproj
54+
dotnet test --framework=net5.0 tests/Dtmgrpc.Tests/Dtmgrpc.Tests.csproj
5155
5256
- name: Run tests on net6.0
5357
run: |
54-
dotnet test --framework=net6.0 src/Dtmcli.Tests/Dtmcli.Tests.csproj --collect:"XPlat Code Coverage"
58+
dotnet test --framework=net6.0 tests/Dtmcli.Tests/Dtmcli.Tests.csproj --collect:"XPlat Code Coverage"
59+
dotnet test --framework=net6.0 tests/Dtmgrpc.Tests/Dtmgrpc.Tests.csproj --collect:"XPlat Code Coverage"
5560
5661
- name: Prepare Codecov
5762
run: |
5863
mkdir ${{ github.workspace }}/coverage/
5964
60-
cp ${{ github.workspace }}/src/Dtmcli.Tests/TestResults/*/coverage.cobertura.xml ${{ github.workspace }}/coverage/
65+
cp ${{ github.workspace }}/tests/Dtmcli.Tests/TestResults/*/coverage.cobertura.xml ${{ github.workspace }}/coverage/cli.xml
66+
cp ${{ github.workspace }}/tests/Dtmgrpc.Tests/TestResults/*/coverage.cobertura.xml ${{ github.workspace }}/coverage/grpc.xml
6167
6268
ls ${{ github.workspace }}/coverage/
6369
@@ -67,6 +73,6 @@ jobs:
6773
with:
6874
token: ${{ secrets.CODECOV_TOKEN }}
6975
fail_ci_if_error: true
70-
files: ${{ github.workspace }}/coverage/coverage.cobertura.xml
71-
name: codecov-umbrella
76+
files: ${{ github.workspace }}/coverage/cli.xml,${{ github.workspace }}/coverage/grpc.xml
77+
name: codecov-dtm-client-csharp
7278
verbose: true

0 commit comments

Comments
 (0)