From a0c155eb588801ffb060393216205bc69d584fcd Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Fri, 13 Dec 2019 18:42:30 +0100 Subject: [PATCH] Add Github Actions Cosmos testing --- .github/workflows/TestCosmos.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/TestCosmos.yaml diff --git a/.github/workflows/TestCosmos.yaml b/.github/workflows/TestCosmos.yaml new file mode 100644 index 00000000000..707005903d7 --- /dev/null +++ b/.github/workflows/TestCosmos.yaml @@ -0,0 +1,26 @@ +name: Test Cosmos + +on: + pull_request: + branches: + - master + +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 + + - name: Checkout + uses: actions/checkout@v2 + + - name: Restore + run: restore.cmd + shell: cmd + + - name: Test on Cosmos + run: .dotnet\dotnet test test\EFCore.Cosmos.FunctionalTests