-
Notifications
You must be signed in to change notification settings - Fork 90
Flutter Pull Request
This workflow is responsible for validating PRs opened for the flutter platform.
This workflow will be executed on the following events:
push:
branches:
- master
paths:
- 'flutter/**'
pull_request:
paths:
- 'flutter/**'
- 'Gemfile'
You can see it more detailed in the workflow file.
This workflow defines a job called PR Check
witch contains the following steps:
It uses the github action cache for caching fastlane dependencies and build outputs to improve workflow execution time.
Installs fastlane and its plugins.
It uses the github action cache for caching Pub dependencies and build outputs to improve workflow execution time.
Setup the needed environment variables.
Fastlane steps are executed in pull_request_verification lane for the flutter platform.
Uses a script to run tests. The script runs unit and widget tests in a function called runTests
and runs dart test in a function called runDartTestsWithCoverage
.
Uses a script to generate test coverage report in a function called runReport
.
Execute run_codecov
fastlane lane.
This lane uses fastlane-plugin-codecov_reporter plugin to send code coverage informations to Codecov.io
Perform static code analysis using lint to dart files using flutter analyze command line interface.