Files
flutter/.github/workflows/ci.yml
Roland Geider a2f0a86510 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	pubspec.lock
2022-03-27 13:54:43 +02:00

39 lines
813 B
YAML

name: Continous Integration
on:
push:
branches: [ pull_request, master ]
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: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage/lcov.info