File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+
6+ name : Flutter Build and Test only
7+
8+ on :
9+ push :
10+ branches : [ "master" ]
11+ pull_request :
12+ branches : [ "master" ]
13+
14+ workflow_dispatch :
15+
16+ env :
17+ FLUTTER_VERSION : 3.27.4
18+
19+ jobs :
20+ build :
21+ runs-on : ubuntu-latest
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v3
26+
27+ - name : Install Flutter
28+ uses : subosito/flutter-action@v2
29+ with :
30+ flutter-version : ${{ env.FLUTTER_VERSION }}
31+ channel : ' stable'
32+ cache : true
33+
34+ - run : flutter --version
35+
36+ - name : Install dependencies
37+ run : flutter pub get
38+
39+ - name : Analyze project source
40+ run : flutter analyze
41+
42+ - name : Run tests
43+ run : flutter test --coverage
You can’t perform that action at this time.
0 commit comments