-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
670a719
commit 62d91ba
Showing
191 changed files
with
40,960 additions
and
3,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ version: 2.1 | |
parameters: | ||
dotnet-version: | ||
type: string | ||
default: "6.0.200" | ||
default: "7.0.404" | ||
|
||
orbs: | ||
win: circleci/[email protected] | ||
|
@@ -12,16 +12,19 @@ commands: | |
description: Setup Linux environment | ||
steps: | ||
- run: | ||
name: Install .NET Core 6.0 | ||
name: Install .NET Core 7.0 | ||
command: | | ||
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | ||
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | ||
sudo dpkg -i packages-microsoft-prod.deb | ||
rm packages-microsoft-prod.deb | ||
sudo apt-get update | ||
sudo apt-get install -y apt-transport-https | ||
sudo apt-get update | ||
sudo apt-get install -y mariadb-client-core-10.3 | ||
sudo apt-get install -y dotnet-sdk-6.0 | ||
sudo apt install snapd | ||
sudo apt-get install -y mariadb-client-core-10.6 | ||
sudo apt-get install -y mariadb-client-10.6 | ||
sudo apt remove 'dotnet*' && sudo apt remove 'aspnetcore*' && sudo rm /etc/apt/sources.list.d/microsoft-prod.list && sudo apt update | ||
sudo apt-get install -y dotnet-sdk-7.0 | ||
dotnet --info | ||
- run: | ||
name: Install Powershell | ||
|
@@ -56,7 +59,7 @@ commands: | |
name: "Run << parameters.test-block >> " | ||
command: | | ||
cd test/<< parameters.test-block >> | ||
dotnet test -f net6.0 -c Release --no-build | ||
dotnet test -f net7.0 -c Release --no-build | ||
cd ../../ | ||
run-tests-win: | ||
description: Run tests on Windows | ||
|
@@ -95,7 +98,7 @@ jobs: | |
singlestore_image: | ||
type: string | ||
machine: | ||
image: ubuntu-2004:202104-01 | ||
image: ubuntu-2204:2024.05.1 | ||
docker_layer_caching: true | ||
environment: | ||
SINGLESTORE_IMAGE: << parameters.singlestore_image >> | ||
|
@@ -151,7 +154,7 @@ jobs: | |
choco install dotnet-sdk --version=<< pipeline.parameters.dotnet-version >> | ||
dotnet.exe build SingleStore.EFCore.sln -c Release | ||
- run-tests-win: | ||
target_framework: net6.0 | ||
target_framework: net7.0 | ||
func_test_block_path: << parameters.func_test_block_path >> | ||
- run: | ||
name: Terminate test cluster | ||
|
@@ -194,12 +197,21 @@ workflows: | |
parameters: | ||
singlestore_image: | ||
- singlestore/cluster-in-a-box:alma-8.5.6-b51bc5471a-4.0.17-1.17.8 | ||
- test-ubuntu: | ||
name: Test 8.7 cluster-in-a-box | ||
matrix: | ||
parameters: | ||
singlestore_image: | ||
- singlestore/cluster-in-a-box:alma-8.7.12-483e5f8acb-4.1.0-1.17.15 | ||
- test-windows: | ||
name: Test first block of functional tests S2MS on Windows | ||
func_test_block_path: .\.circleci\run-functional-tests1.ps1 | ||
- test-windows: | ||
name: Test second block of functional tests S2MS on Windows | ||
func_test_block_path: .\.circleci\run-functional-tests2.ps1 | ||
- test-windows: | ||
name: Test third block of functional tests S2MS on Windows | ||
func_test_block_path: .\.circleci\run-functional-tests3.ps1 | ||
|
||
|
||
publish: | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
cd test\EFCore.SingleStore.FunctionalTests\ | ||
|
||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.MigrationsSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.MigrationsInfrastructureSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.OptimisticConcurrencySingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.NotificationEntitiesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.NorthwindQueryTaggingQuerySingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.MusicStoreSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.PropertyValuesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.OverzealousInitializationSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreDatabaseModelFactoryTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.StoreValueGenerationSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreTypeMappingTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.StoredProcedureUpdateSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreJsonMicrosoftTypeMappingTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreJsonNewtonsoftTypeMappingTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreUpdateSqlGeneratorTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~SaveChangesInterceptionSingleStoreTest' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SeedingSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SerializationSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreMigrationsSqlGeneratorTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreComplianceTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreApiConsistencyTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.StoreGeneratedSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.StoreGeneratedFixupSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SpatialSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreServiceCollectionExtensionsTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.SingleStoreNetTopologySuiteApiConsistencyTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TableSplittingSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TPTTableSplittingSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TransactionInterceptionSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TransactionSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TwoDatabasesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.UpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.ValueConvertersEndToEndSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.WithConstructorsSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.FiltersInheritanceBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.InheritanceBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.NonSharedModelBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.NorthwindBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TPCFiltersInheritanceBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TPCInheritanceBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TPTFiltersInheritanceBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
dotnet.exe test -f net7.0 -c Release --no-build --filter 'FullyQualifiedName~.TPTInheritanceBulkUpdatesSingleStoreTest.' | ||
$TOTAL_FAILURES += ($LASTEXITCODE -ne 0) | ||
|
||
cd ..\..\ | ||
|
||
if ( $TOTAL_FAILURES -ne 0 ) { | ||
echo "Number of tests failed: ${TOTAL_FAILURES}" | ||
exit 1 | ||
} | ||
else { | ||
exit 0 | ||
} |
Oops, something went wrong.