example-docker #154
Workflow file for this run
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: example-docker | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
docker-browsers: | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [chrome, edge, electron, firefox] | |
# Cypress Docker image documentation on https://github.com/cypress-io/cypress-docker-images | |
# Available cypress/browsers tags listed on https://hub.docker.com/r/cypress/browsers/tags | |
container: | |
image: cypress/browsers:22.11.0 | |
options: --user 1001 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# replace with the following for regular use: | |
# uses: cypress-io/github-action@v6 | |
- name: Cypress tests | |
uses: ./ | |
with: | |
working-directory: examples/basic | |
browser: ${{ matrix.browser }} |