Upgrade dependencies #58
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.dart' | |
- '**.yaml' | |
- '**.yml' | |
workflow_dispatch: | |
jobs: | |
tests_and_coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Flutter | |
uses: subosito/[email protected] | |
with: | |
channel: stable | |
cache: true | |
- name: Flutter version | |
run: flutter --version | |
- name: Install melos | |
run: dart pub global activate melos | |
- name: Setup melos | |
run: melos bootstrap | |
- name: Install dependencies | |
run: melos deps | |
- name: Run tests with coverage | |
run: melos run lcov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./packages/box_transform/coverage/lcov.info | |
name: codecov-box-transform |