-
-
Notifications
You must be signed in to change notification settings - Fork 14
46 lines (41 loc) · 1.18 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
name: Tests
on:
- push
- pull_request
jobs:
unit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts
- name: Run tests
run: yarn test
ios:
name: iOS integration tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent
- name: Install example project dependencies
run: yarn --frozen-lockfile --non-interactive --silent
working-directory: Example
- name: Install example project cocoapods
run: pod install --project-directory=ios
working-directory: Example
- name: Ensure SVG files are stripped
run: ./tests/ensure-svgs-stripped-ios.sh