forked from qooxdoo/qooxdoo
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.02 KB
/
test-framework.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
41
42
43
44
45
46
name: Run tests
on:
push:
branches:
- '*'
- '!master'
paths:
- 'compile.*'
- 'source/**'
- 'test/**'
pull_request:
paths:
- 'compile.*'
- 'source/**'
- 'test/**'
workflow_dispatch:
jobs:
test:
name: ${{ matrix.os }}, node ${{ matrix.node-version }}, ${{ matrix.browser }}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16.x, 18.x, 19.x]
browser: [chromium]
steps:
- name: checkout
uses: actions/checkout@v2
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- name: install and run tests with ${{ matrix.browser }}
run: npm test -- --browsers=${{ matrix.browser }} --terse --headless --set-env qx.test.delay.scale=10