Skip to content

Commit ffc5107

Browse files
committed
add github ci unit tests
.
1 parent 6e064f3 commit ffc5107

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: run unit tests
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- master
8+
pull_request:
9+
branches:
10+
- dev
11+
- master
12+
13+
jobs:
14+
flutter_test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: checkout code
18+
uses: actions/checkout@v3
19+
20+
- name: set up flutter
21+
uses: subosito/flutter-action@v2
22+
with:
23+
channel: 'stable'
24+
25+
- name: install dependencies
26+
run: flutter pub get
27+
28+
- name: run unit tests
29+
run: flutter test test/unit

0 commit comments

Comments
 (0)