Prepare for 2024.1.1.beta release (protobuf) #25
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: Publish Dart to Codecov | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
# Get dependencies | |
- name: Install dependencies | |
run: flutter pub get | |
# Run all tests with coverage | |
- name: Run tests with coverage | |
run: flutter test --coverage | |
# Upload coverage data | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
env: | |
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} | |
with: | |
file: coverage/lcov.info |