From b22026a5434c3a75ab9107808ca2d6a6ae069780 Mon Sep 17 00:00:00 2001 From: David Pine Date: Tue, 10 Jan 2023 18:08:08 -0600 Subject: [PATCH] Fix deploy script --- .github/workflows/publish-nuget.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 1b2efea..2ee828c 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -15,15 +15,20 @@ jobs: dotnet-version: 7.0.x - name: Test run: dotnet test --filter "Category!=EndToEnd" - + + - name: Build end-to-end tests + run: | + dotnet build ./tests/Blazor.ExampleConsumer.EndToEndTests/Blazor.ExampleConsumer.EndToEndTests.csproj + - name: Install Playwright dependencies - run: pwsh tests/Blazor.ExampleConsumer.EndToEndTests/bin/Release/net7.0/playwright.ps1 install --with-deps + run: | + pwsh ./tests/Blazor.ExampleConsumer.EndToEndTests/bin/Debug/net7.0/playwright.ps1 install --with-deps - - name: End-to-end tests + - name: Run end-to-end tests run: | dotnet test ./tests/Blazor.ExampleConsumer.EndToEndTests/Blazor.ExampleConsumer.EndToEndTests.csproj --verbosity normal - - publish: + +publish: needs: test runs-on: ubuntu-latest strategy: