Commit f8e1b8d9 by Maurits van Beusekom Committed by GitHub

Merge pull request #484 from Baseflow/support_codecov_workflow

Support codecov workflow
parents 3227538b ee7fbbab
......@@ -18,7 +18,9 @@
### :thinking: Checklist before submitting
- [ ] All projects build
- [ ] Follows style guide lines ([code style guide](https://github.com/Baseflow/flutter-permission-handler/blob/develop/CONTRIBUTING.md))
- [ ] Relevant documentation was updated
- [ ] Rebased onto current develop
- [ ] I made sure all projects build.
- [ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
- [ ] I updated CHANGELOG.md to add a description of the change.
- [ ] I followed the style guide lines ([code style guide](https://github.com/Baseflow/flutter-permission-handler/blob/develop/CONTRIBUTING.md)).
- [ ] I updated the relevant documentation.
- [ ] I rebased onto current `master`.
......@@ -58,3 +58,15 @@ jobs:
- name: Run iOS build
run: flutter build ios --release --no-codesign
working-directory: ${{env.example-directory}}
# Run all unit-tests with code coverage
- name: Run unit tests
run: flutter test --coverage
working-directory: ${{env.source-directory}}
# Upload code coverage information
- uses: codecov/codecov-action@v1
with:
file: ${{env.source-directory}}/coverage/lcov.info # optional
name: permission_handler (Platform Interface Package) # optional
fail_ci_if_error: true
......@@ -47,4 +47,16 @@ jobs:
- name: Run Flutter Analyzer
run: flutter analyze
working-directory: ${{env.source-directory}}
# Run all unit-tests with code coverage
- name: Run unit tests
run: flutter test --coverage
working-directory: ${{env.source-directory}}
# Upload code coverage information
- uses: codecov/codecov-action@v1
with:
file: ${{env.source-directory}}/coverage/lcov.info # optional
name: permission_handler (Platform Interface Package) # optional
fail_ci_if_error: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment