Skip to content

Commit de778c1

Browse files
committed
Do the files have to be in a specific location?
1 parent 2cb88ce commit de778c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ jobs:
3737
- full_checkout
3838
- run:
3939
name: "Configure GCC debug build"
40-
command: cmake -GNinja -H. -B../Debug-build -DINCH_UNIT_TESTS=ON -DINCH_CODE_COVERAGE=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug
40+
command: cmake -GNinja -H. -B./build -DINCH_UNIT_TESTS=ON -DINCH_CODE_COVERAGE=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug
4141
- build_and_test:
42-
dir: ../Debug-build
42+
dir: build
4343
- run:
4444
name: "Generate code coverage metrics"
4545
command: |
46-
cd ../Debug-build
46+
cd build
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
5050
- codecov/upload:
5151
cli_args: '-v'
52-
file: '/home/circleci/Debug-build/coverage.info'
52+
file: /home/circleci/project/build/coverage.info
5353
- coverage-reporter/send_report:
54-
coverage-reports: '/home/circleci/Debug-build/coverage.info'
54+
coverage-reports: './build/coverage.info'
5555
project-token: $CODACY_PROJECT_TOKEN
5656

5757
build_gcc_release:

0 commit comments

Comments
 (0)