Skip to content

Boost Comments and Like Notifications #1351

Boost Comments and Like Notifications

Boost Comments and Like Notifications #1351

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: Flutter Unit tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
flutter:
strategy:
matrix:
include:
- name: App
path: ./app
include_enven: true
- name: Notifify
path: packages/acter_notifify
name: Flutter Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
name: Set up flutter
with:
flutter-version: '3.24'
channel: 'stable'
- name: Generate env
working-directory: ${{ matrix.path }}
if: ${{ matrix.include_enven }}
run: dart run enven
- name: Run flutter unit tests
working-directory: ${{ matrix.path }}
run: flutter test --coverage
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4
with:
working-directory: ${{ matrix.path }}
directory: coverage
flags: unittest
name: flutter-widget-tests
token: ${{ secrets.CODECOV_TOKEN }}