Skip to content

Commit

Permalink
test: add live docker example
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Sep 2, 2023
1 parent 9895d09 commit 553e1e4
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/example-docker.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
name: example-docker

on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:

jobs:
cypress-run:
docker-browsers:
runs-on: ubuntu-22.04
# Cypress Docker image with Chrome v106
# and Firefox v106 pre-installed
container: cypress/browsers:node18.12.0-chrome106-ff106
strategy:
fail-fast: false
matrix:
browser: [chrome, edge, electron, firefox]
# from https://hub.docker.com/r/cypress/browsers/tags
container:
image: cypress/browsers:node-20.5.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1
options: --user 1001
steps:
- uses: actions/checkout@v3
- uses: cypress-io/github-action@v5
- uses: cypress-io/github-action@v6
with:
browser: chrome
working-directory: examples/basic
browser: ${{ matrix.browser }}

0 comments on commit 553e1e4

Please sign in to comment.