Skip to content

Commit

Permalink
Merge pull request #65 from icapps/feature/#64-github-actions
Browse files Browse the repository at this point in the history
#64: added github actions support
  • Loading branch information
vanlooverenkoen authored Sep 21, 2023
2 parents b7b8ee1 + dc9ee42 commit 8132f42
Show file tree
Hide file tree
Showing 11 changed files with 248 additions and 310 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/analyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Analyzer

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
check_analyzer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
with:
channel: 'stable'
- run: flutter packages get
- run: flutter analyze
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
with:
channel: 'stable'
- run: flutter packages get
- run: dart run ./tool/test_coverage_create_helper.dart
- run: flutter test --coverage
- run: dart run ./tool/test_coverage_filter.dart
- run: dart run ./tool/test_coverage_validate_percentage.dart
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ linter:
- hash_and_equals
- implementation_imports
- invariant_booleans
- iterable_contains_unrelated_type
- collection_methods_unrelated_type
- join_return_with_assignment
- library_names
- library_prefixes
- list_remove_unrelated_type
- literal_only_boolean_expressions
- no_adjacent_strings_in_list
- no_duplicate_case_values
Expand Down
Loading

0 comments on commit 8132f42

Please sign in to comment.