Skip to content

Merge pull request #1 from KendiJ/workflows #1

Merge pull request #1 from KendiJ/workflows

Merge pull request #1 from KendiJ/workflows #1

Workflow file for this run

name: Main branch
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name : Checkout Repo
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: '12.x'
- name : Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '3.13.3'
- name: Flutter Pub get
run : |
echo flutter clean
echo flutter pub get
- name : Flutter Analyze
run : flutter analyze
# - name : Run Test
# run : flutter test
# - name : Run Test Coverage
# run : flutter test --coverage
- name : Install lcov
run : sudo apt-get install -y lcov
- name : Upload Coverage To Codecov
uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: coverage/lcov.info
- name : Build Apk
run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi