Skip to content

Commit 9779cba

Browse files
Add flutter test action (#39)
1 parent 47031b2 commit 9779cba

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/flutter_test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
test:
11+
name: Flutter Tests
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: subosito/flutter-action@v2
17+
with:
18+
flutter-version: '3.16.9'
19+
channel: 'stable'
20+
- name: Flutter doctor
21+
run: flutter doctor
22+
- name: Get dependencies
23+
run: flutter pub get
24+
- name: Run l10n generation
25+
run: flutter gen-l10n
26+
- name: Run tests
27+
run: flutter test

0 commit comments

Comments
 (0)