-
Notifications
You must be signed in to change notification settings - Fork 511
/
circle.yml
70 lines (59 loc) · 1.54 KB
/
circle.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
62
63
64
65
66
67
68
69
# Check https://circleci.com/docs/2.0/ for more details
# for config.yml syntax see https://circleci.com/docs/2.0/configuration-reference/
version: 2.1
# for testing on Windows
orbs:
win: circleci/windows@5
executors:
mac:
macos:
xcode: "14.3.1"
resource_class: macos.m1.medium.gen1
jobs:
mac-test:
executor: mac
working_directory: ~/repo
steps:
- checkout
- run: npm ci
- run: npm install cypress
- run: npm run cypress:info
- run: npm run cypress:version
- run: npm run cypress:run
- run: npm run cypress:cache:list
linux-test:
docker:
# find Docker image at https://github.com/cypress-io/cypress-docker-images
- image: cypress/base:18.16.1
working_directory: ~/repo
steps:
- checkout
- run: npm ci
- run: npm install cypress
- run: npm run cypress:info
- run: npm run cypress:version
- run: npm run cypress:run
- run: npm run cypress:cache:list
win-test:
working_directory: ~/app
executor:
name: win/default
shell: bash.exe
steps:
- checkout
- run: npm ci
- run: npm install cypress
- run: npm run cypress:info
- run: npm run cypress:version
- run: npm run cypress:run
- run: npm run cypress:cache:list
workflows:
version: 2
tests:
jobs:
- win-test:
context: test-runner:commit-status-checks
- linux-test:
context: test-runner:commit-status-checks
- mac-test:
context: test-runner:commit-status-checks