Skip to content

Merge pull request #2376 from acterglobal/kumar/boost-with-pin-action #1029

Merge pull request #2376 from acterglobal/kumar/boost-with-pin-action

Merge pull request #2376 from acterglobal/kumar/boost-with-pin-action #1029

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