Skip to content

Commit

Permalink
[Code health] Enable codecov for all PRs (#2554)
Browse files Browse the repository at this point in the history
* Enable codecov for all PRs

* Fix build id syntax
  • Loading branch information
gino-m authored Jul 19, 2024
1 parent 1da350c commit dc5d494
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,9 @@ steps:
args:
- '-c'
- |
if [[ "${_PUSH_TO_MASTER}" ]]; then
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${_CODECOV_TOKEN}
fi
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --verbose upload-process --fail-on-error -t ${_CODECOV_TOKEN} -n 'service'-$BUILD_ID -F service -f coverage-service.xml
- name: 'gcr.io/$PROJECT_ID/android:base'
id: &compress_cache 'Compress gradle build cache'
Expand Down

0 comments on commit dc5d494

Please sign in to comment.