Skip to content

Commit cdb634e

Browse files
authored
Added test and codecov steps
1 parent d0c7e74 commit cdb634e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/google_api_availability.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,15 @@ jobs:
5454
- name: Run iOS build
5555
run: flutter build ios --release --no-codesign
5656
working-directory: ${{env.example-directory}}
57+
58+
# Run all unit-tests with code coverage
59+
- name: Run unit tests
60+
run: flutter test --coverage
61+
working-directory: ${{env.source-directory}}
62+
63+
# Upload code coverage information
64+
- uses: codecov/codecov-action@v1
65+
with:
66+
file: ${{env.source-directory}}/coverage/lcov.info # optional
67+
name: Google API Availability (App Facing Package) # optional
68+
fail_ci_if_error: true

0 commit comments

Comments
 (0)