Skip to content

Commit 9f8bae0

Browse files
committed
#64: added github actions support
1 parent b7b8ee1 commit 9f8bae0

File tree

10 files changed

+247
-308
lines changed

10 files changed

+247
-308
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.

0 commit comments

Comments
 (0)