Skip to content

Commit b2500cf

Browse files
committed
CircleCI can't find the coverage file, can it automagically find it
1 parent 729e5f6 commit b2500cf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- full_checkout
3838
- run:
3939
name: "Configure GCC debug build"
40-
command: cmake -H. -B../Debug-build -DINCH_UNIT_TESTS=ON -DINCH_CODE_COVERAGE=ON -DCOVERAGE_COMMAND=/usr/bin/gcov -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug
40+
command: cmake -H. -B../Debug-build -DINCH_UNIT_TESTS=ON -DINCH_CODE_COVERAGE=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug
4141
- build_and_test:
4242
dir: ../Debug-build
4343
- run:
@@ -47,13 +47,9 @@ jobs:
4747
lcov --directory . --capture --gcov-tool /usr/bin/gcov --output-file coverage.info
4848
lcov --remove coverage.info '/usr/*' '*/tests/*' '*/external/*' --output-file coverage.info
4949
lcov --list coverage.info
50-
# Started using the codecov orb for upload
51-
# No idea why this doesn't upload correctly to codecov.io, leaving it in for ... reasons
52-
# bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
5350
- codecov/upload:
5451
# A new step puts us into the repo folder
55-
file: ../Debug-build/coverage.info
56-
# conf: codecov.yml
52+
# file: ../Debug-build/coverage.info
5753
- coverage-reporter/send_report:
5854
coverage-reports: '../Debug-build/coverage.info'
5955
project-token: $CODACY_PROJECT_TOKEN

0 commit comments

Comments
 (0)