1414 strategy :
1515 fail-fast : false
1616 matrix :
17- os : [ubuntu-22.04, windows-2022, macos-12]
18- dotnet-version : [6.0.x, 7.0.x]
17+ os : [ ubuntu-22.04, windows-2022, macos-12 ]
18+ dotnet-version : [ 6.0.x, 7.0.x ]
1919 include :
2020 - dotnet-version : 6.0.x
2121 dotnet-target-framework : net6.0
@@ -30,17 +30,58 @@ jobs:
3030 with :
3131 dotnet-version : ${{ matrix.dotnet-version }}
3232 - name : Test
33- run : |
33+ run : |
3434 cd src
3535 dotnet test --filter "Category=Unit" -f ${{ matrix.dotnet-target-framework }}
36-
37- integration -tests :
36+
37+ ado-net -tests :
3838 runs-on : ubuntu-22.04
3939 strategy :
4040 fail-fast : false
4141 matrix :
4242 ydb-version : [ 'trunk' ]
43- dotnet-version : [6.0.x, 7.0.x]
43+ dotnet-version : [ 6.0.x, 7.0.x ]
44+ include :
45+ - dotnet-version : 6.0.x
46+ dotnet-target-framework : net6.0
47+ - dotnet-version : 7.0.x
48+ dotnet-target-framework : net7.0
49+ services :
50+ ydb :
51+ image : cr.yandex/yc/yandex-docker-local-ydb:${{ matrix.ydb-version }}
52+ ports :
53+ - 2135:2135
54+ - 2136:2136
55+ - 8765:8765
56+ env :
57+ YDB_LOCAL_SURVIVE_RESTART : true
58+ YDB_USE_IN_MEMORY_PDISKS : true
59+ options : ' --name ydb-local -h localhost'
60+ env :
61+ OS : ubuntu-22.04
62+ YDB_VERSION : ${{ matrix.ydb-version }}
63+ YDB_CONNECTION_STRING : grpc://localhost:2136/local
64+ YDB_CONNECTION_STRING_SECURE : grpcs://localhost:2135/local
65+ steps :
66+ - name : Checkout code
67+ uses : actions/checkout@v4
68+ - name : Install Dotnet
69+ uses : actions/setup-dotnet@v4
70+ with :
71+ dotnet-version : ${{ matrix.dotnet-version }}
72+ - name : Run ADO.NET tests
73+ run : |
74+ docker cp ydb-local:/ydb_certs/ca.pem ~/
75+ cd src
76+ dotnet test --filter "(FullyQualifiedName~Ado) | (FullyQualifiedName~Dapper)" -l "console;verbosity=normal"
77+
78+ core-integration-tests :
79+ runs-on : ubuntu-22.04
80+ strategy :
81+ fail-fast : false
82+ matrix :
83+ ydb-version : [ 'trunk' ]
84+ dotnet-version : [ 6.0.x, 7.0.x ]
4485 include :
4586 - dotnet-version : 6.0.x
4687 dotnet-target-framework : net6.0
0 commit comments