From f0287e27a0557afa882b8613e9551f3f1b2443f2 Mon Sep 17 00:00:00 2001 From: Laurents Meyer Date: Fri, 13 Oct 2023 14:42:13 +0200 Subject: [PATCH] [DEBUG] Change config to ensure CI uses correct provider. --- .github/workflows/build.yml | 8 ++++---- test/EFCore.Jet.FunctionalTests/config.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a458ca9..8772ebd3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,7 +66,7 @@ jobs: $aceSilentInstallArgument = $aceUrls['${{ matrix.aceVersion }}']['silent'] echo "aceSilentInstallArgument=$aceSilentInstallArgument" >> $env:GITHUB_ENV - $defaultConnection = '${{ matrix.dataAccessProviderType }}' -eq 'ODBC' ? 'DBQ=Jet.accdb' : 'Data Source=Jet.accdb' + $defaultConnection = '${{ matrix.dataAccessProviderType }}' -eq 'ODBC' ? 'DBQ=Jet.accdb' : 'Data Source=Jet.accdb;Persist Security Info=False;' echo "defaultConnection=$defaultConnection" >> $env:GITHUB_ENV - name: Output Variables shell: pwsh @@ -141,19 +141,19 @@ jobs: shell: pwsh run: | $env:EFCoreJet_DefaultConnection = '${{ env.defaultConnection }}' - & '${{ env.dotnetExecutable }}' test .\test\EFCore.Jet.Data.Tests -c '${{ env.buildConfiguration }}' --no-build --logger trx --verbosity detailed + & '${{ env.dotnetExecutable }}' test .\test\EFCore.Jet.Data.Tests -c '${{ env.buildConfiguration }}' --no-build --logger trx --verbosity detailed --blame-hang-timeout 3m - name: 'Run Tests: EFCore.Jet.FunctionalTests' shell: pwsh continue-on-error: true run: | $env:EFCoreJet_DefaultConnection = '${{ env.defaultConnection }}' - & '${{ env.dotnetExecutable }}' test .\test\EFCore.Jet.FunctionalTests -c '${{ env.buildConfiguration }}' --no-build --logger trx --verbosity detailed + & '${{ env.dotnetExecutable }}' test .\test\EFCore.Jet.FunctionalTests -c '${{ env.buildConfiguration }}' --no-build --logger trx --verbosity detailed --blame-hang-timeout 3m exit 0 - name: 'Run Tests: EFCore.Jet.Tests' shell: pwsh run: | $env:EFCoreJet_DefaultConnection = '${{ env.defaultConnection }}' - & '${{ env.dotnetExecutable }}' test .\test\EFCore.Jet.Tests -c '${{ env.buildConfiguration }}' --no-build --logger trx --verbosity detailed + & '${{ env.dotnetExecutable }}' test .\test\EFCore.Jet.Tests -c '${{ env.buildConfiguration }}' --no-build --logger trx --verbosity detailed --blame-hang-timeout 3m NuGet: needs: BuildAndTest if: github.event_name == 'push' && github.repository == 'bubibubi/EntityFrameworkCore.Jet' diff --git a/test/EFCore.Jet.FunctionalTests/config.json b/test/EFCore.Jet.FunctionalTests/config.json index d97040ea..f6bff201 100644 --- a/test/EFCore.Jet.FunctionalTests/config.json +++ b/test/EFCore.Jet.FunctionalTests/config.json @@ -1,7 +1,7 @@ { "Test": { "Jet": { - "DefaultConnection": "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=Jet.accdb;Persist Security Info=False;" + "DefaultConnection": "TODO" } } }