From ef5f8557fceea23048b5428599f87ba5e885d482 Mon Sep 17 00:00:00 2001 From: Luc Gagan Date: Tue, 14 Nov 2023 23:44:38 -0600 Subject: [PATCH] Revert "chore: test manual workflow" This reverts commit 7a088e41946b1ce949fcbb22a01cda4025632f50. --- .github/workflows/test.yaml | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index b129e4b..0000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: Playwright Tests -on: - workflow_dispatch: - inputs: - repeat-each: - default: 5 - type: number - description: The number of times to repeat the test - test-path: - required: true - type: string - description: A relative path to the test file under test -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Set env variables - run: | - echo "NUMBER_OF_RUNS=" >> "$GITHUB_ENV" - echo "TEST_PATH=${{ github.event.inputs.test-path }}" >> "$GITHUB_ENV" - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test "${{ github.event.inputs.test-path }}" --workers=1 --repeat-each=${{ inputs.repeat-each }} - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 \ No newline at end of file