Merge pull request #453 from wger-project/feat/data-persistence #1228
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: [ master, ] | |
paths: | |
- '**.dart' | |
- 'pubspec.yaml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: '3.16.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 }} |