From d6240bba63ef5305c7d48a995ff340fb9be02a16 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Sat, 17 Feb 2024 18:20:14 +0100 Subject: [PATCH] test: allow setting the debug var via workflow dispatch --- .github/workflows/e2e.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index aa68cbaeb..4dd831352 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -3,6 +3,11 @@ name: e2e on: # allow manual dispatch workflow_dispatch: + inputs: + debug: + type: boolean + required: false + default: false # run on pushes to staging push: branches: @@ -56,4 +61,5 @@ jobs: env: BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} + BROWSERSTACK_DEBUG: ${{ github.event.inputs.debug || false }} run: (cd e2e && pnpm run browserstack-multiple)