Skip to content

Merge pull request #231 from shiosyakeyakini-info/feature/fix_213 #154

Merge pull request #231 from shiosyakeyakini-info/feature/fix_213

Merge pull request #231 from shiosyakeyakini-info/feature/fix_213 #154

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Flutter Testを実行する
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Run flutter version
run: flutter --version
- name: Run flutter pub get
run: flutter pub get
- name: Run flutter test with coverage
run: flutter test --coverage --coverage-path=~/coverage/lcov.info
- uses: codecov/codecov-action@v1
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ~/coverage/lcov.info