forked from cypress-io/github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 832 Bytes
/
example-docker.yml
File metadata and controls
30 lines (29 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.14.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 }}