feat: Add more tests- CU-86c0287m8 #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [main , qa] | |
jobs: | |
test: | |
defaults: | |
run: | |
working-directory: ./ | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1.5.3 | |
- name: Install deps | |
run: flutter packages get | |
- name: Format | |
run: dart format --set-exit-if-changed . | |
- name: Analyze | |
run: flutter analyze lib test | |
- name: Test | |
run: flutter test --coverage | |
- name: Check Test Coverage | |
uses: VeryGoodOpenSource/very_good_coverage@v1.2.0 | |
with: | |
min_coverage: 32 | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: playx-flutter/playx_theme |