-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (46 loc) · 1.49 KB
/
test.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: 'Test'
on:
pull_request:
branches:
- '**'
jobs:
Windows:
runs-on: windows-2019
environment: CI
timeout-minutes: 10
steps:
- uses: DevExpress/testcafe-build-system/actions/prepare@main
with:
node-version: '16'
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Linting
run: npm run lint
- name: Run Tests (Chrome)
run: node node_modules/gulp/bin/gulp.js test --testBrowserAlias=chrome
- name: Run Tests (Firefox)
run: node node_modules/gulp/bin/gulp.js test-run --testBrowserAlias=firefox
if: ${{ always() }}
- name: Run Tests (Edge)
run: node node_modules/gulp/bin/gulp.js test-run --testBrowserAlias=edge
if: ${{ always() }}
macOS:
runs-on: macos-latest
environment: CI
timeout-minutes: 10
steps:
- uses: DevExpress/testcafe-build-system/actions/prepare@main
with:
node-version: '16'
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: ESLint
run: npm run lint
- name: Run Tests (Chrome)
run: node node_modules/gulp/bin/gulp.js test --testBrowserAlias=chrome
- name: Run Tests (Firefox)
run: node node_modules/gulp/bin/gulp.js test-run --testBrowserAlias=firefox
if: ${{ always() }}
- name: Run Tests (Safari)
run: node node_modules/gulp/bin/gulp.js test-run --testBrowserAlias=safari
if: ${{ always() }}