From 481dacde402b228c73c3f61f607422d34103e1e9 Mon Sep 17 00:00:00 2001 From: David Justo Date: Tue, 18 Jun 2024 14:43:05 -0700 Subject: [PATCH] add azurite step --- .github/workflows/validate-build.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/validate-build.yml b/.github/workflows/validate-build.yml index 40eaa7011..a0640baf8 100644 --- a/.github/workflows/validate-build.yml +++ b/.github/workflows/validate-build.yml @@ -19,15 +19,6 @@ jobs: build: runs-on: windows-latest - services: - azurite: - image: mcr.microsoft.com/azure-storage/azurite - ports: - - 10000:10000 - - 10001:10001 - - 10002:10002 - - steps: - uses: actions/checkout@v3 with: @@ -42,6 +33,11 @@ jobs: - name: Build run: dotnet build $solution #--configuration $config #--no-restore -p:FileVersionRevision=$GITHUB_RUN_NUMBER -p:ContinuousIntegrationBuild=true + - name: Run Azurite + run: | + docker pull mcr.microsoft.com/azure-storage/azurite + docker run -d -p 10000:10000 -p 10001:10001 -p 10002:10002 --name azurite mcr.microsoft.com/azure-storage/azurite + - name: Test DTx.Core run: dotnet test Azure/durabletask/test/DurableTask.Core.Tests/DurableTask.Core.Tests.csproj #--configuration $config --no-build --verbosity normal