Merge pull request #435 from wger-project/dependabot/pub/shared_prefe… #1079
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continous Integration | |
on: | |
push: | |
paths: | |
- '**.dart' | |
- 'pubspec.yaml' | |
pull_request: | |
branches: [ pull_request, master ] | |
paths: | |
- '**.dart' | |
- 'pubspec.yaml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
channel: 'stable' | |
flutter-version: '3.7.x' | |
- run: dart --version | |
- run: flutter --version | |
- name: Install app dependencies | |
run: flutter pub get | |
- name: Test app | |
run: flutter test --coverage | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |