mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 23:42:00 +01:00
# Conflicts: # lib/models/exercises/exercise.g.dart # pubspec.lock # pubspec.yaml # test/gallery/gallery_screen_test.mocks.dart # test/measurements/measurement_provider_test.mocks.dart # test/nutrition/nutritional_plan_form_test.mocks.dart # test/workout/workout_form_test.mocks.dart # test/workout/workout_set_form_test.mocks.dart
37 lines
733 B
YAML
37 lines
733 B
YAML
name: Continous Integration
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.dart'
|
|
- 'pubspec.yaml'
|
|
pull_request:
|
|
branches: [ pull_request, master ]
|
|
paths:
|
|
- '**.dart'
|
|
- 'pubspec.yaml'
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Install Flutter
|
|
uses: subosito/flutter-action@v1
|
|
with:
|
|
channel: 'stable'
|
|
flutter-version: '2.10.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 }}
|