diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49437c23..ee0bbe44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,15 +20,15 @@ jobs: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 - name: Build and unit test run: | - NUMPROC=2 CMAKE_CXX_FLAGS="--coverage -fno-inline" make debug - make test + NUMPROC=2 CMAKE_CXX_FLAGS="--coverage -fno-inline" make test - name: Run coverage run: | - lcov --no-external --directory src -c -d debug -o coverage.info - lcov -l coverage.info + lcov -c -d debug -o coverage.info + lcov -e coverage.info "$PWD/src/*" -o coverage-src.info + lcov -l coverage-src.info - name: Upload coverage uses: codecov/codecov-action@v2 with: - files: coverage.info + files: coverage-src.info name: clang-uml fail_ci_if_error: true \ No newline at end of file