chore(release): publish 6.0.0-rc.2 #17
This file contains hidden or 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: Flutter Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
flutter-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
cache-key: flutter-${{ hashFiles('**/pubspec.lock') }} | |
cache-path: ${{ runner.tool_cache }}/flutter | |
- name: Show Flutter version | |
run: flutter --version | |
- name: Get dependencies | |
run: flutter pub get | |
- name: Run tests with coverage | |
run: flutter test --coverage | |
- name: Upload coverage artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage-report | |
path: coverage/lcov.info | |
if-no-files-found: warn |