Skip to content

Commit f149a12

Browse files
authored
Add CI Test for regression test (#21)
* add ci * add workflow dispatch * fix error * fix error
1 parent b0234e8 commit f149a12

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/ci-test.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI Tests
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited]
6+
workflow_dispatch:
7+
8+
jobs:
9+
android-new-arch-test:
10+
runs-on: self-hosted
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Run Android Tests
15+
run: |
16+
npm install
17+
npm run test:android
18+
19+
20+
ios-new-arch-test:
21+
runs-on: self-hosted
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Run iOS Tests
26+
run: |
27+
npm install
28+
npm run test:ios
29+
30+
android-old-arch-test:
31+
runs-on: self-hosted
32+
steps:
33+
- uses: actions/checkout@v3
34+
35+
- name: Run Android Tests
36+
run: |
37+
npm install
38+
npm run test:oldArch:android
39+
40+
ios-old-arch-test:
41+
runs-on: self-hosted
42+
steps:
43+
- uses: actions/checkout@v3
44+
45+
- name: Run iOS Tests
46+
run: |
47+
npm install
48+
npm run test:oldArch:ios

0 commit comments

Comments
 (0)