Update playwright-java.yml #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cypress | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
browser: | ||
description: 'The browser to use' | ||
default: 'chromium' | ||
required: true | ||
type: choice | ||
options: | ||
- chrome | ||
- edge | ||
- electron | ||
- firefox | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: cypress/browsers | ||
options: --user 1001 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Test | ||
run: | | ||
./docker.sh --browser "${{ inputs.browser }}" --docker cypress | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifact_test | ||
path: reporting | ||
git add -f docs/* | ||
git commit -m "Github Commit" | ||
git push origin main |