Skip to content

Commit

Permalink
Create manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
harmin-parra authored Feb 10, 2024
1 parent 43c1885 commit a68c827
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a68c827

Please sign in to comment.