Skip to content

Commit 06593cb

Browse files
author
MPCoreDeveloper
committed
fix: remove --configfile from dotnet test/build commands (unsupported flag)
dotnet test and dotnet build do not support --configfile; it causes exit code 1 on test runs. Keep --configfile only on restore/list/pack.
1 parent 1ef548a commit 06593cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,17 @@ jobs:
8282
Write-Host "No vulnerable NuGet packages detected."
8383
8484
- name: Build
85-
run: dotnet build SharpCoreDB.CI.slnf --configuration Release --no-restore /p:ContinuousIntegrationBuild=true --configfile NuGet.Config
85+
run: dotnet build SharpCoreDB.CI.slnf --configuration Release --no-restore /p:ContinuousIntegrationBuild=true
8686

8787
- name: Test SharpCoreDB.Tests
88-
run: dotnet test tests/SharpCoreDB.Tests/SharpCoreDB.Tests.csproj --configuration Release --no-build --verbosity minimal --logger trx --results-directory ./TestResults/SharpCoreDB.Tests --collect:"XPlat Code Coverage" --filter "${{ env.CI_TEST_FILTER }}" --blame-hang --blame-hang-timeout 5m --configfile NuGet.Config
88+
run: dotnet test tests/SharpCoreDB.Tests/SharpCoreDB.Tests.csproj --configuration Release --no-build --verbosity minimal --logger trx --results-directory ./TestResults/SharpCoreDB.Tests --collect:"XPlat Code Coverage" --filter "${{ env.CI_TEST_FILTER }}" --blame-hang --blame-hang-timeout 5m
8989
timeout-minutes: 30
9090
env:
9191
CI: "true"
9292
GITHUB_ACTIONS: "true"
9393

9494
- name: Test SharpCoreDB.VectorSearch.Tests
95-
run: dotnet test tests/SharpCoreDB.VectorSearch.Tests/SharpCoreDB.VectorSearch.Tests.csproj --configuration Release --no-build --verbosity minimal --logger trx --results-directory ./TestResults/SharpCoreDB.VectorSearch.Tests --collect:"XPlat Code Coverage" --filter "${{ env.CI_TEST_FILTER }}" --blame-hang --blame-hang-timeout 5m --configfile NuGet.Config
95+
run: dotnet test tests/SharpCoreDB.VectorSearch.Tests/SharpCoreDB.VectorSearch.Tests.csproj --configuration Release --no-build --verbosity minimal --logger trx --results-directory ./TestResults/SharpCoreDB.VectorSearch.Tests --collect:"XPlat Code Coverage" --filter "${{ env.CI_TEST_FILTER }}" --blame-hang --blame-hang-timeout 5m
9696
timeout-minutes: 15
9797
env:
9898
CI: "true"

0 commit comments

Comments
 (0)