Dependency updates #64
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: Analytics Flutter Test Code | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_and_test: | |
name: Run Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: "13.0.13+5" | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
flutter-version: 3.19.0 | |
- name: Get dependencies | |
run: cd packages/core && flutter pub get | |
- name: Analyze Dart code | |
run: cd packages/core && flutter analyze | |
- name: Run unit tests | |
run: cd packages/core && flutter test --coverage | |
- name: Upload coverage to codecov | |
run: curl -s https://codecov.io/bash | |
shell: bash |