-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cirrus.yml
More file actions
67 lines (62 loc) · 2.02 KB
/
.cirrus.yml
File metadata and controls
67 lines (62 loc) · 2.02 KB
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
# Requires a tart vm with xcode-select and node 18.15.0 installed
# Run this with cirrus run --dirty. This will mount the current volume with read write
run_dev_task:
macos_instance:
image: codify-test-vm
port: 9226:9226
node_modules_cache:
folder: node_modules
fingerprint_script: cat package-lock.json
populate_script: npm ci
run_script:
- sleep 2000
integration_test_dev_macos_task:
timeout_in: 120m
macos_instance:
image: codify-test-vm
cpu: 4
memory: 6124
storage: 100
node_modules_cache:
folder: node_modules
fingerprint_script: cat package-lock.json
populate_script: npm ci
test_script:
- zsh -i -c "npm run test:integration -- --disable-console-intercept $DEBUG --no-file-parallelism"
integration_test_dev_linux_task:
# trick cirrus CI to use tart here to run a linux instance
macos_instance:
image: codify-test-vm-linux
# node_modules_cache:
# folder: node_modules
# fingerprint_script: cat package-lock.json
# populate_script: npm ci
test_script:
# - adduser --disabled-password --gecos '' newuser
# - su - newuser
- npm ci
- npm run test:integration -- --disable-console-intercept $DEBUG --no-file-parallelism
integration_individual_test_macos_task:
macos_instance:
image: codify-test-vm
node_modules_cache:
folder: node_modules
fingerprint_script: cat package-lock.json
populate_script: npm ci
test_script:
- echo $FILE_NAME
- zsh -i -c "npm run test -- $FILE_NAME --disable-console-intercept $DEBUG --no-file-parallelism"
integration_individual_test_linux_task:
# trick cirrus CI to use tart here to run a linux instance
macos_instance:
image: codify-test-vm-linux
# node_modules_cache:
# folder: node_modules
# fingerprint_script: cat package-lock.json
# populate_script: npm ci
test_script:
# - chown -R node /tmp/cirrus-ci/working-dir
# - su node -c "npm install"
- echo $FILE_NAME
- npm ci
- npm run test -- $FILE_NAME --disable-console-intercept $DEBUG --no-file-parallelism