-
Notifications
You must be signed in to change notification settings - Fork 37
34 lines (34 loc) · 997 Bytes
/
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
name: dpc-sdp/ripple/test
on:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: '14'
- name: Restore cache
uses: actions/[email protected]
with:
key: v10-deps-${{ hashFiles('yarn.lock') }}
path: |
./.cache
**/node_modules
- name: Lint code.
run: yarn lint --format ./node_modules/eslint-junit/index.js
env:
ESLINT_JUNIT_OUTPUT: "./test-results/lint/eslint.xml"
- name: Unit tests
run: yarn test:unit --ci --runInBand --reporters=default --reporters=jest-junit
env:
JEST_JUNIT_OUTPUT_DIR: test-results/unit/
- name: Upload test results
uses: actions/[email protected]
with:
name: Test results
path: |
test-results
examples/reference/test/integration/videos
examples/reference/test/integration/screenshots