From 439b103e6c24b776cedb3b10461cb6247e4fec95 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Fri, 16 Sep 2022 15:15:16 -0700 Subject: [PATCH] Update podcast-web.yml --- .github/workflows/podcast-web.yml | 44 ------------------------------- 1 file changed, 44 deletions(-) diff --git a/.github/workflows/podcast-web.yml b/.github/workflows/podcast-web.yml index a9f4c94..d3b49ea 100644 --- a/.github/workflows/podcast-web.yml +++ b/.github/workflows/podcast-web.yml @@ -7,12 +7,6 @@ on: - "src/Web/**" - ".github/workflows/podcast-web.yml" - "deploy/Web/web.deployment.json" - pull_request: - branches: [main] - paths: - - "src/Web/**" - - ".github/workflows/podcast-web.yml" - - "deploy/Web/web.deployment.json" workflow_dispatch: env: @@ -77,7 +71,6 @@ jobs: needs: build environment: name: prod - if: ${{ github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -120,40 +113,3 @@ jobs: with: app-name: ${{ secrets.WEBAPP_NAME }} package: web - - test: - needs: deploy - timeout-minutes: 60 - runs-on: ubuntu-latest - container: mcr.microsoft.com/playwright:v1.25.2-focal - env: - BASEURL: https://${{secrets.WEBAPP_NAME}}.azurewebsites.net # sets value for URL to test - defaults: - run: - working-directory: src/Web/E2E - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: "14.x" - - - name: Install dependencies - run: npm ci - - - name: Run Playwright tests - run: | - HOME=/root npx playwright test - - - name: Create test summary - uses: test-summary/action@dist - if: always() - with: - paths: src/Web/E2E/test-results/junit.xml - - - name: Upload HTML report - uses: actions/upload-artifact@v2 - if: always() - with: - name: playwright-report - path: src/Web/E2E/playwright-report/ - retention-days: 30