diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 04937744c..cbab936bd 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -167,7 +167,7 @@ jobs: # Process and upload code coverage (Python was collected during pytest) - name: Collect coverage from C/C++/Fortran testers - run: third-party/lcov/install/usr/local/bin/lcov -c -d build/Coverage/CMakeFiles -o coverage.info + run: third-party/lcov/install/bin/lcov -c -d build/Coverage/CMakeFiles -o coverage.info - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/Makefile b/Makefile index d8ca16988..d6ede0e38 100644 --- a/Makefile +++ b/Makefile @@ -603,5 +603,5 @@ third-party/lcov/install/usr/local/bin/lcov: git clone $(LCOV_URL) lcov --branch $(LCOV_VER) --depth=1 @cd third-party/lcov && \ mkdir -p install && \ - CC=gcc CXX=g++ DESTDIR="install/" make install && \ + CC=gcc CXX=g++ make PREFIX=`pwd`/install/ install && \ echo "Finished installing LCOV"