Skip to content

Merge pull request #11 from Floating-Dartists/refactor/update #75

Merge pull request #11 from Floating-Dartists/refactor/update

Merge pull request #11 from Floating-Dartists/refactor/update #75

Workflow file for this run

name: Test workflow
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Fetch dependencies
run: flutter packages get
- name: Analyze project
run: flutter analyze --no-fatal-infos
- name: Run tests
run: flutter test --coverage --dart-define=CI=true
- name: Collect and report coverage
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}