Skip to content

Commit dfed9da

Browse files
committed
ci(dart): add example test flow
add example test flow
1 parent 7934e88 commit dfed9da

File tree

3 files changed

+19
-35
lines changed

3 files changed

+19
-35
lines changed

.github/workflows/example.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,22 @@ jobs:
3232
- name: Test
3333
run: flutter test --no-pub --coverage
3434

35-
- name: Example Test
36-
run: cd example && flutter test --no-pub
35+
example:
36+
runs-on: ubuntu-latest
37+
38+
steps:
39+
- uses: actions/checkout@v3
40+
41+
- name: Setup Flutter
42+
uses: subosito/flutter-action@v2
43+
with:
44+
channel: stable
45+
46+
- name: Install
47+
run: flutter pub get
48+
49+
- name: Analyze
50+
run: cd example && flutter analyze --no-pub
51+
52+
- name: Test
53+
run: cd example && flutter test --no-pub --coverage

logo.png

68.6 KB
Loading

0 commit comments

Comments
 (0)