mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
30 lines
628 B
YAML
30 lines
628 B
YAML
name: Continous Integration
|
|
on: [pull_request, push]
|
|
|
|
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.2.x'
|
|
|
|
- run: dart --version
|
|
- run: flutter --version
|
|
|
|
- name: Install app dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Test app
|
|
run: flutter test --coverage
|
|
|
|
#- name: Upload coverage to Codecov
|
|
# uses: codecov/codecov-action@v1
|
|
# with:
|
|
# token: ${{ secrets.CODECOV_TOKEN }}
|
|
# file: coverage/lcov.info
|