Skip to content

Yudha/mixpanel

Yudha/mixpanel #158

Workflow file for this run

name: test
on:
pull_request:
branches:
- main
- development
push:
branches:
- main
- development
jobs:
flutter_test:
name: Run flutter test and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
channel: "stable"
flutter-version: '3.10.5'
- run: |
flutter doctor
flutter pub get
echo "${{ secrets.ENV }}" | base64 --decode > ${{ github.workspace }}/.env
flutter pub run build_runner build --delete-conflicting-outputs
flutter test --coverage
flutter analyze
bash <(curl -s https://codecov.io/bash -t ${{ secrets.CODECOV_TOKEN }})