File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # The name of your workflow.
2
+ name : build
3
+ # Trigger the workflow on push or pull request
4
+ on :
5
+ push :
6
+ branches : [master]
7
+ pull_request :
8
+ branches : [master]
9
+ # A workflow run is made up of one or more jobs. Jobs run in parallel by default.
10
+ jobs :
11
+ test :
12
+ # The type of machine to run the job on. [windows,macos, ubuntu , self-hosted]
13
+ defaults :
14
+ run :
15
+ working-directory : ./
16
+ runs-on : ubuntu-latest
17
+ # sequence of tasks called
18
+ steps :
19
+ # The branch or tag ref that triggered the workflow will be checked out.
20
+ # https://github.com/actions/checkout
21
+ - uses : actions/checkout@v1
22
+ # Setup a flutter environment.
23
+ # https://github.com/marketplace/actions/flutter-action
24
+ - uses : subosito/flutter-action@v1
25
+ with :
26
+ flutter-version : " 2.0.2"
27
+ channel : " stable"
28
+ - run : flutter pub get
29
+ # - run: flutter analyze
30
+ # run flutter widgets tests and unit tests
31
+ - run : flutter test --coverage
32
+ # Upload coverage reports to Codecov
33
+ # https://github.com/marketplace/actions/codecov
34
+ - uses : codecov/codecov-action@v1.0.7
You can’t perform that action at this time.
0 commit comments