feat: adds Product selection when using ticket #190
Workflow file for this run
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: Test | |
on: | |
pull_request: | |
branches: [main] | |
workflow_call: | |
jobs: | |
test: | |
name: Test app | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Flutter environment | |
uses: ./.github/actions/setup_flutter_environment | |
with: | |
build_type: development | |
- name: Check formatting | |
run: dart format --set-exit-if-changed lib/ | |
- name: Static Analysis | |
run: flutter analyze | |
- name: Run tests | |
run: flutter test --coverage | |
- name: Upload test report to Codecov | |
uses: codecov/[email protected] | |
with: | |
flags: unittests | |
file: coverage/lcov.info |