Skip to content

Commit

Permalink
ci: disable cosmosdb emulator startup (#2891)
Browse files Browse the repository at this point in the history
Disables starting the CosmosDB emulator in `all_solutions.yml`; we are using an Azure instance of CosmosDB now.
  • Loading branch information
tippmar-nr authored Nov 18, 2024
1 parent df17cfd commit b6bdad9
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/all_solutions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,14 +508,15 @@ jobs:
run: |
"$Env:INTEGRATION_TEST_SECRETS" | dotnet user-secrets set --project ${{ env.integration_tests_shared_project }}
shell: pwsh #this doesn't work with normal powershell due to UTF-8 BOM handling

- name: Start Local CosmosDB Emulator for CosmosDB Tests
if: matrix.namespace == 'CosmosDB'
run: |
Write-Host "Launching Cosmos DB Emulator"
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
Start-CosmosDbEmulator
shell: pwsh

# save in case we move back to using the emulator
# - name: Start Local CosmosDB Emulator for CosmosDB Tests
# if: matrix.namespace == 'CosmosDB'
# run: |
# Write-Host "Launching Cosmos DB Emulator"
# Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
# Start-CosmosDbEmulator
# shell: pwsh

- name: Run Unbounded Integration Tests
run: |
Expand Down

0 comments on commit b6bdad9

Please sign in to comment.