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