-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 981 Bytes
/
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
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