From a68c8272c5c5d546d7bd16b9b600529bcfb2d3e4 Mon Sep 17 00:00:00 2001 From: Harmin Parra Rueda Date: Sat, 10 Feb 2024 01:17:42 +0100 Subject: [PATCH] Create manual.yml --- .github/workflows/manual.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..cb14d03 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,31 @@ +name: Playwright Tests + +on: + workflow_dispatch: + inputs: + browser: + description: 'The browser to use' + default: 'chromium' + required: true + type: choice + options: + - all + - chromium + - firefox + - webkit +jobs: + test: + runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.41.1-jammy + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Install + run: npm install + - name: Test + run: npx playwright test --browser ${{ inputs.browser }} + env: + HOME: /root