Fix to #33547 - Breaking Change in 8.0.4: System.InvalidOperationException: The data is NULL at ordinal 0. This method can't be called on NULL values. Check using IsDBNull before calling. #9736
Workflow file for this run
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
name: Test Cosmos | |
on: | |
pull_request: | |
branches: | |
- main | |
- feature/* | |
- release/* | |
permissions: {} | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Start Cosmos Emulator | |
run: | | |
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator" | |
Start-CosmosDbEmulator -Timeout 360 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Restore | |
run: restore.cmd | |
shell: cmd | |
- name: Build | |
run: build.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj | |
shell: cmd | |
- name: Test on Cosmos | |
run: test.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj | |
shell: cmd | |
- name: Publish Test Results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: artifacts/log/Debug/* |