-
Notifications
You must be signed in to change notification settings - Fork 0
103 lines (100 loc) · 2.88 KB
/
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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
name: Tests Workflow
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the specified branch
push:
branches:
- "main"
pull_request:
branches:
- "main"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
AIND_Fusion-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: tests/package-lock.json
- name: AIND Fusion Regression test
run: |
cd tests
#install dependencies
npm install
# run test
npm test aind_fusion_regression
env:
CI: true
FAFB_Fly_Brain-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: tests/package-lock.json
- name: FAFB Fly Brain Regression test
run: |
cd tests
#install dependencies
npm install
# run test
npm test FAFB_Fly_Brain_regression
env:
CI: true
flyEM_Hemibrain-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: tests/package-lock.json
- name: FlyEM Hemibrain Regression test
run: |
cd tests
#install dependencies
npm install
# run test
npm test flyEM_Hemibrain_regression
env:
CI: true
Janelia_flyEM-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: tests/package-lock.json
- name: Janelia FlyEM Regression test
run: |
cd tests
#install dependencies
npm install
# run test
npm test Janelia_FlyEM_regression
env:
CI: true