mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
37 lines
751 B
YAML
37 lines
751 B
YAML
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 }}
|