@@ -19,60 +19,68 @@ jobs:
1919 services :
2020 ydb :
2121 image : ydbplatform/local-ydb:${{ matrix.ydb-version }}
22- ports :
23- - 2135:2135
24- - 2136:2136
25- - 8765:8765
22+ ports : [ "2135:2135", "2136:2136", "8765:8765" ]
2623 env :
2724 YDB_LOCAL_SURVIVE_RESTART : true
2825 options : ' --name ydb-local -h localhost'
26+
2927 steps :
3028 - name : Checkout code
3129 uses : actions/checkout@v4
30+
3231 - name : Install Dotnet
3332 uses : actions/setup-dotnet@v4
3433 with :
3534 dotnet-version : ${{ matrix.dotnet-version }}
35+
3636 - name : Run ADO.NET Tests
3737 working-directory : ./src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests
3838 run : |
3939 docker cp ydb-local:/ydb_certs/ca.pem ~/
40- dotnet test
40+ dotnet test --logger "GitHubActions;report-warnings=false"
41+
4142 - name : Run ADO.NET Specification Tests
4243 working-directory : ./src/Ydb.Sdk/test/Ydb.Sdk.Ado.Specification.Tests
43- run : dotnet test
44+ run : dotnet test --logger "GitHubActions;report-warnings=false"
45+
4446 - name : Run ADO.NET Dapper Tests
4547 working-directory : ./src/Ydb.Sdk/test/Ydb.Sdk.Ado.Dapper.Tests
46- run : dotnet test
48+ run : dotnet test --logger "GitHubActions;report-warnings=false"
49+
4750 - name : Run Topic Tests
4851 working-directory : ./src/Ydb.Sdk/test/Ydb.Sdk.Topic.Tests
49- run : dotnet test
52+ run : dotnet test --logger "GitHubActions;report-warnings=false"
53+
5054 efcore-tests :
5155 runs-on : ubuntu-22.04
5256 strategy :
5357 fail-fast : false
5458 matrix :
5559 ydb-version : [ 'latest', '25.1' ]
60+ dotnet-version : [ 8.0.x, 9.0.x ]
5661 services :
5762 ydb :
5863 image : ydbplatform/local-ydb:${{ matrix.ydb-version }}
59- ports :
60- - 2135:2135
61- - 2136:2136
62- - 8765:8765
64+ ports : [ "2135:2135", "2136:2136", "8765:8765" ]
6365 env :
6466 YDB_LOCAL_SURVIVE_RESTART : true
6567 options : ' --name ydb-local -h localhost'
68+
6669 steps :
6770 - name : Checkout code
6871 uses : actions/checkout@v4
72+
6973 - name : Install Dotnet
7074 uses : actions/setup-dotnet@v4
7175 with :
72- dotnet-version : 9.0.x
73- - name : Run EFCore tests
74- working-directory : ./src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/
75- run : dotnet test
76+ dotnet-version : ${{ matrix.dotnet-version }}
77+
78+ - name : Run EFCore.Ydb functional tests
79+ working-directory : ./src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests
80+ run : |
81+ docker cp ydb-local:/ydb_certs/ca.pem ~/
82+ dotnet test --logger "GitHubActions;report-warnings=false"
83+
7684 run-examples :
7785 runs-on : ubuntu-22.04
7886 strategy :
@@ -83,34 +91,36 @@ jobs:
8391 services :
8492 ydb :
8593 image : ydbplatform/local-ydb:${{ matrix.ydb-version }}
86- ports :
87- - 2135:2135
88- - 2136:2136
89- - 8765:8765
94+ ports : [ "2135:2135", "2136:2136", "8765:8765" ]
9095 env :
9196 YDB_LOCAL_SURVIVE_RESTART : true
9297 YDB_USE_IN_MEMORY_PDISKS : true
9398 options : ' --name ydb-local -h localhost'
9499 steps :
95100 - name : Checkout code
96101 uses : actions/checkout@v4
102+
97103 - name : Install Dotnet
98104 uses : actions/setup-dotnet@v4
99105 with :
100106 dotnet-version : ${{ matrix.dotnet-version }}
107+
101108 - name : Run Ydb.Sdk.AdoNet.QuickStart
102109 run : |
103110 docker cp ydb-local:/ydb_certs/ca.pem ~/
104111 cd ./examples/Ydb.Sdk.AdoNet.QuickStart
105112 dotnet run
113+
106114 - name : Run Ydb.Sdk.AdoNet.Dapper.QuickStart
107115 run : |
108116 cd ./examples/Ydb.Sdk.AdoNet.Dapper.QuickStart
109117 dotnet run
118+
110119 - name : Run Ydb.Sdk.Topic.QuickStart
111120 run : |
112121 cd ./examples/Ydb.Sdk.Topic.QuickStart
113122 dotnet run
123+
114124 - name : Run EntityFrameworkCore.Ydb.QuickStart
115125 run : |
116126 cd ./examples/EntityFrameworkCore.Ydb.QuickStart
@@ -119,6 +129,7 @@ jobs:
119129 dotnet ef migrations add InitialCreate
120130 dotnet ef database update
121131 dotnet run
132+
122133 - name : Run EntityFrameworkCore.Ydb.Samples/Database.Operations.Tutorial
123134 run : |
124135 cd ./examples/EntityFrameworkCore.Ydb.Samples/Database.Operations.Tutorial
0 commit comments