Skip to content

Config: update widget testing and add widget testing command to workflow #9

Config: update widget testing and add widget testing command to workflow

Config: update widget testing and add widget testing command to workflow #9

on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Running Flutter analysis on package code
run: flutter analyze --no-fatal-infos --no-fatal-warnings --write=analysis_report.txt
- name: Artifact analysis report
uses: actions/upload-artifact@v4
if: always()
with:
name: analysis-report
path: |
analysis_report.txt
retention-days: 15
- name: Runing widget testing
run: flutter test --verbose
- name: Check Publish Warnings
run: dart pub publish --dry-run