feat: add support to dependency injection using get it and injectable #4
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: Code Coverage Update | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
- name: Install dependencies | |
run: flutter pub get | |
working-directory: pokedex | |
- name: Run tests | |
run: flutter test --coverage --reporter github | |
working-directory: pokedex | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |