Files
flutter/.github/workflows/ci.yml
2021-05-13 13:20:06 +02:00

36 lines
775 B
YAML

name: Continous Integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install Flutter
uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: dart --version
- run: flutter --version
- name: Install app dependencies
run: flutter pub get
- name: Generated translation files
run: flutter gen-l10n
- name: Test app
run: flutter test --no-sound-null-safety --coverage
#run: flutter test --coverage
#- name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage/lcov.info