We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90f6a3 commit ac21b1eCopy full SHA for ac21b1e
.github/workflows/flutter.yml
@@ -0,0 +1,35 @@
1
+name: Flutter Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - uses: subosito/flutter-action@v1.4.0
17
+ with:
18
+ channel: 'master'
19
20
+ - name: Doctor
21
+ run: flutter doctor
22
23
+ - name: Install dependencies
24
+ run: flutter packages get
25
26
+ - name: Format
27
+ run: flutter format lib test --set-exit-if-changed
28
29
+ - name: Analyze
30
+ run: flutter analyze lib test
31
32
+ - name: Run tests
33
+ run: flutter test --coverage --coverage-path=lcov.info
34
35
+ - uses: codecov/codecov-action@v1
0 commit comments