Skip to content

feat: #3555

feat: #3555 #597

Workflow file for this run

name: replay_bloc
on:
push:
paths:
- "packages/replay_bloc/**"
- ".github/workflows/replay_bloc.yaml"
pull_request:
paths:
- "packages/replay_bloc/**"
- ".github/workflows/replay_bloc.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/replay_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: flutter analyze lib test example
- name: Run tests
run: flutter test -j 1 --no-pub --coverage --test-randomize-ordering-seed random
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/replay_bloc/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/replay_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh