Generate KeyValueFactory and related instances in the compiled model. #9957
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/* |