Skip to content

Merge pull request #237 from RafaelBarbosatec/test/core-widget-tests #9

Merge pull request #237 from RafaelBarbosatec/test/core-widget-tests

Merge pull request #237 from RafaelBarbosatec/test/core-widget-tests #9

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
analyze-and-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Install dependencies
run: flutter pub get
- name: Analyze
# --no-fatal-infos: the lib still has pre-existing deprecation infos
# (withOpacity) that must not fail the build while old Flutter
# versions are supported. Errors and warnings still fail.
run: flutter analyze --no-pub --no-fatal-infos
- name: Test
run: flutter test --no-pub