[pull] master from cypress-io:master #19
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 Tests | |
# This workflow tests examples from the examples directory of this repo. | |
on: | |
push: | |
paths: | |
- examples/** | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
example: | |
strategy: | |
fail-fast: false | |
matrix: | |
directory: [ | |
basic-mini, | |
basic, | |
chrome-for-testing, | |
chromium, | |
firefox-esr, | |
included-as-non-root | |
] | |
os: [ | |
ubuntu-24.04 # testing Linux/amd64 platform | |
# | |
# temporarily disable testing on arm due to reliability issues | |
# see https://github.com/actions/partner-runner-images/issues for updates | |
# | |
# ubuntu-24.04-arm # testing Linux/arm64 platform | |
] | |
# exclude: | |
# - os: ubuntu-24.04-arm | |
# directory: chrome-for-testing #browser not available for Linux/arm64 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run test script | |
working-directory: examples/${{ matrix.directory }} | |
run: ./scripts/test.sh |