Skip to content

Commit 7db105d

Browse files
committed
feat: workflow
1 parent d74fdcf commit 7db105d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.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: Flutter Tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: subosito/flutter-action@v2
17+
with:
18+
channel: stable
19+
20+
- name: Install dependencies
21+
run: flutter pub get
22+
23+
- name: Analyze code
24+
run: flutter analyze
25+
26+
- name: Run tests
27+
run: flutter test

0 commit comments

Comments
 (0)