diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1fb5557..e83433e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,15 @@ jobs: run: dotnet restore - name: Build run: dotnet build --no-restore -# Requires a cosmosdb instance to run acceptance tests -# - name: Test -# run: dotnet test --no-build --verbosity normal + - name: Azure login + uses: azure/login@v2.2.0 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + - name: Setup Cosmos DB + uses: Particular/setup-cosmosdb-action@v1.0.0 + with: + connection-string-name: Annoy_O_Bot_ComsmosConnectionString + azure-credentials: ${{ secrets.AZURE_CREDENTIALS }} + tag: Annoy_O_Bot_Tests + - name: Test + run: dotnet test --no-build --verbosity normal