forked from cypress-io/cypress-docker-images
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (38 loc) · 1.05 KB
/
example-tests.yml
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
31
32
33
34
35
36
37
38
39
40
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