Skip to content

working-directory: bluevsred_flutter #4

working-directory: bluevsred_flutter

working-directory: bluevsred_flutter #4

name: Flutter_Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Install and set Flutter version
uses: subosito/flutter-action@v2.7.1
with:
flutter-version: '3.19.3'
- name: Restore packages
working-directory: bluevsred_flutter
run: flutter pub get
- name: Analyze
working-directory: bluevsred_flutter
run: flutter analyze
- name: Run tests
working-directory: bluevsred_flutter
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: hawkbee1/bluevsred