Skip to content

.NET test with Cosmos DB Emulator #5

.NET test with Cosmos DB Emulator

.NET test with Cosmos DB Emulator #5

Workflow file for this run

name: .NET test with Cosmos DB Emulator
on:
workflow_dispatch:
jobs:
unit_tests:
name: Run .NET unit tests
runs-on: windows-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Start Azure Cosmos DB emulator
run: |
Write-Host "Launching Cosmos DB Emulator"
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
Start-CosmosDbEmulator
- name: Run .NET tests
run: dotnet test -graphBuild:True