Bump version #60
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: Test | |
# Trigger the workflow on push or pull request | |
on: [push, pull_request] | |
#A workflow run is made up of one or more jobs. Jobs run in parallel by default. | |
jobs: | |
test-app: | |
#The type of machine to run the job on. [windows,macos, ubuntu , self-hosted] | |
env: | |
working-directory: ./app | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: "2.0.0" | |
- name: "Fetch dependencies" | |
run: flutter pub get | |
- name: "Install test_coverage" | |
run: dart pub global activate test_coverage | |
- name: "Run tests" | |
run: flutter test | |
- name: "Collect coverage data" | |
run: test_coverage | |
- name: "Publish to Codecov" | |
run: bash <(curl -s https://codecov.io/bash) |