Skip to content

Commit 8132f42

Browse files
Merge pull request #65 from icapps/feature/#64-github-actions
#64: added github actions support
2 parents b7b8ee1 + dc9ee42 commit 8132f42

File tree

11 files changed

+248
-310
lines changed

11 files changed

+248
-310
lines changed

.github/workflows/analyzer.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Analyzer
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
check_analyzer:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2.8.0
15+
with:
16+
channel: 'stable'
17+
- run: flutter packages get
18+
- run: flutter analyze

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: subosito/flutter-action@v2.8.0
15+
with:
16+
channel: 'stable'
17+
- run: flutter packages get
18+
- run: dart run ./tool/test_coverage_create_helper.dart
19+
- run: flutter test --coverage
20+
- run: dart run ./tool/test_coverage_filter.dart
21+
- run: dart run ./tool/test_coverage_validate_percentage.dart
22+
- name: Coveralls
23+
uses: coverallsapp/github-action@master
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

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

analysis_options.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,10 @@ linter:
5858
- hash_and_equals
5959
- implementation_imports
6060
- invariant_booleans
61-
- iterable_contains_unrelated_type
61+
- collection_methods_unrelated_type
6262
- join_return_with_assignment
6363
- library_names
6464
- library_prefixes
65-
- list_remove_unrelated_type
6665
- literal_only_boolean_expressions
6766
- no_adjacent_strings_in_list
6867
- no_duplicate_case_values

0 commit comments

Comments
 (0)