Skip to content

Commit 4a6ab59

Browse files
revert Program.cs
1 parent 37a6056 commit 4a6ab59

17 files changed

+56
-23
lines changed

.github/workflows/tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,31 @@ jobs:
9595
dotnet-version: ${{ matrix.dotnet-version }}
9696
- name: Run Topic tests
9797
run: dotnet test src/Ydb.Sdk/tests/Tests.csproj --filter "FullyQualifiedName~Topic" -f ${{ matrix.dotnet-target-framework }} -l "console;verbosity=detailed"
98+
efcore-functional-tests:
99+
runs-on: ubuntu-22.04
100+
strategy:
101+
fail-fast: false
102+
matrix:
103+
ydb-version: [ 'latest', 'trunk' ]
104+
services:
105+
ydb:
106+
image: ydbplatform/local-ydb:${{ matrix.ydb-version }}
107+
ports:
108+
- 2135:2135
109+
- 2136:2136
110+
- 8765:8765
111+
env:
112+
YDB_LOCAL_SURVIVE_RESTART: true
113+
options: '--name ydb-local -h localhost'
114+
steps:
115+
- name: Checkout code
116+
uses: actions/checkout@v4
117+
- name: Install Dotnet
118+
uses: actions/setup-dotnet@v4
119+
with:
120+
dotnet-version: 9.0.x
121+
- name: Run EfCore tests
122+
run: dotnet test src/EfCore.Ydb/test/EfCore.Ydb.FunctionalTests/EfCore.Ydb.FunctionalTests.csproj -l "console;verbosity=detailed"
98123
integration-tests:
99124
runs-on: ubuntu-22.04
100125
strategy:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
77

8-
public class NorthwindBulkUpdatesYdbFixture<TModelCustomizer> : NorthwindBulkUpdatesRelationalFixture<TModelCustomizer>
8+
internal class NorthwindBulkUpdatesYdbFixture<TModelCustomizer> : NorthwindBulkUpdatesRelationalFixture<TModelCustomizer>
99
where TModelCustomizer : ITestModelCustomizer, new()
1010
{
1111
protected override ITestStoreFactory TestStoreFactory => YdbNorthwindTestStoreFactory.Instance;
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
22

3-
public class TPCFiltersInheritanceBulkUpdatesYdbFixture : TPCInheritanceBulkUpdatesYdbFixture
3+
internal class TPCFiltersInheritanceBulkUpdatesYdbFixture : TPCInheritanceBulkUpdatesYdbFixture
44
{
55
public override bool EnableFilters => true;
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
77

8-
public class TPCFiltersInheritanceBulkUpdatesYdbTest(
8+
internal class TPCFiltersInheritanceBulkUpdatesYdbTest(
99
TPCFiltersInheritanceBulkUpdatesYdbFixture fixture,
1010
ITestOutputHelper testOutputHelper
1111
) : TPCFiltersInheritanceBulkUpdatesTestBase<TPCFiltersInheritanceBulkUpdatesYdbFixture>(fixture, testOutputHelper)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
66

7-
public class TPCInheritanceBulkUpdatesYdbFixture : TPCInheritanceBulkUpdatesFixture
7+
internal class TPCInheritanceBulkUpdatesYdbFixture : TPCInheritanceBulkUpdatesFixture
88
{
99
protected override ITestStoreFactory TestStoreFactory => YdbTestStoreFactory.Instance;
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
77

8-
public class TpcInheritanceBulkUpdatesYdbTest(
8+
internal class TpcInheritanceBulkUpdatesYdbTest(
99
TPCInheritanceBulkUpdatesYdbFixture fixture,
1010
ITestOutputHelper testOutputHelper
1111
) : TPCInheritanceBulkUpdatesTestBase<TPCInheritanceBulkUpdatesYdbFixture>(fixture, testOutputHelper)
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
22

3-
public class TphFiltersInheritanceBulkUpdatesYdbFixture : TPHInheritanceBulkUpdatesYdbFixture
3+
internal class TphFiltersInheritanceBulkUpdatesYdbFixture : TPHInheritanceBulkUpdatesYdbFixture
44
{
55
public override bool EnableFilters => true;
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
66

7-
public class TPHInheritanceBulkUpdatesYdbFixture : TPHInheritanceBulkUpdatesFixture
7+
internal class TPHInheritanceBulkUpdatesYdbFixture : TPHInheritanceBulkUpdatesFixture
88
{
99
protected override ITestStoreFactory TestStoreFactory
1010
=> YdbTestStoreFactory.Instance;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
55

66
// TODO: Primary key required for ydb tables
7-
public class TPHInheritanceBulkUpdatesYdbTest(
7+
internal class TPHInheritanceBulkUpdatesYdbTest(
88
TPHInheritanceBulkUpdatesYdbFixture fixture,
99
ITestOutputHelper testOutputHelper)
1010
: TPHInheritanceBulkUpdatesTestBase<TPHInheritanceBulkUpdatesYdbFixture>(fixture, testOutputHelper);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace EfCore.Ydb.FunctionalTests.AllTests.BulkUpdates;
22

3-
public class TPTFiltersInheritanceBulkUpdatesYdbFixture : TPTInheritanceBulkUpdatesYdbFixture
3+
internal class TPTFiltersInheritanceBulkUpdatesYdbFixture : TPTInheritanceBulkUpdatesYdbFixture
44
{
55
public override bool EnableFilters
66
=> true;

0 commit comments

Comments
 (0)