File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Flutter Tests
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ jobs :
7
+ test :
8
+ name : Run Tests
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+
13
+ - name : Install Flutter
14
+ uses : subosito/flutter-action@v2
15
+ with :
16
+ flutter-version : ' 3.10.0'
17
+ cache : true
18
+ cache-key : ' flutter-macos-stable-3.10.0-apple'
19
+ cache-path : ' ${{ runner.tool_cache }}/flutter/macos-stable-3.10.0-apple'
20
+ pub-cache-key : ' flutter-pub-macos-stable-3.10.0-apple'
21
+
22
+ - name : Get dependencies
23
+ run : flutter pub get
24
+
25
+ - name : Analyze project
26
+ run : flutter analyze
27
+
28
+ - name : Run tests
29
+ run : flutter test --coverage
30
+
31
+ - name : Upload coverage reports to Codecov
32
+ uses : codecov/codecov-action@v3
33
+ with :
34
+ file : ./coverage/lcov.info
35
+ fail_ci_if_error : false
Original file line number Diff line number Diff line change 3
3
4
4
# ShowCaseView
5
5
6
- [ ![ Build] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions/workflows/flutter.yaml/badge.svg?branch=master )] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions ) [ ![ showcaseview ] ( https://img.shields.io/pub/v/showcaseview?label=showcaseview )] ( https://pub.dev/packages/showcaseview )
6
+ [ ![ showcaseview ] ( https://img.shields.io/pub/v/showcaseview?label=showcaseview )] ( https://pub.dev/packages/showcaseview ) [ ![ Build] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions/workflows/flutter.yaml/badge.svg?branch=master )] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions ) [ ![ Tests ] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions/workflows/flutter_tests.yaml/badge.svg?branch=master )] ( https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions )
7
7
8
8
A Flutter package allows you to Showcase/Highlight your widgets.
9
9
You canβt perform that action at this time.
0 commit comments