summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-02-26 16:18:37 +0200
committerJuha Alanen <juha.alanen@mapbox.com>2020-03-02 09:16:18 +0200
commitbc9f51e78b3c294d9b437ffa9b8b045608012438 (patch)
tree0ba6901117ef1ae8aefa638a637f90b53db01e76
parent7cc2f7efd59ec27db17dc26ac2083d519ee26d98 (diff)
downloadqtlocation-mapboxgl-bc9f51e78b3c294d9b437ffa9b8b045608012438.tar.gz
[build] Generate coverage results separately before uploading to codecov
The codecov.io script has issues with generating coverage result files so generate them separately with gcov and only use the codecov.io script to upload the results.
-rw-r--r--circle.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 3717708143..fbe5aa5ee6 100644
--- a/circle.yml
+++ b/circle.yml
@@ -378,9 +378,15 @@ commands:
upload-coverage-results:
steps:
- run:
+ name: Get coverage results
+ command: |
+ cd build
+ find . -type f -iname *.gcda -exec gcov -p -b {} \;
+ - run:
name: Upload coverage results to codecov.io
command: |
- bash <(curl -sSfL https://codecov.io/bash) || echo 'Codecov failed to upload'
+ bash <(curl -sSfL https://codecov.io/bash) -X gcov || echo 'Codecov failed to upload'
+
jobs:
ios-render-test-runner:
executor: macos-11_3_1