update make file -pb flag
This commit is contained in:
parent
eb2b59c2f1
commit
12b611ace0
2 changed files with 2 additions and 2 deletions
2
.github/workflows/code-coverage.yml
vendored
2
.github/workflows/code-coverage.yml
vendored
|
@ -32,6 +32,6 @@ jobs:
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
with:
|
with:
|
||||||
files: lcov-report/coverage.info
|
files: lcov-report/coverage.info
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ test:
|
||||||
all: $(BUILD_TARGETS) $(TEST_TARGETS)
|
all: $(BUILD_TARGETS) $(TEST_TARGETS)
|
||||||
|
|
||||||
coverage: ## Run code coverage
|
coverage: ## Run code coverage
|
||||||
gcov tests/*.cpp
|
gcov -pb tests/*.cpp
|
||||||
|
|
||||||
lcov-report: coverage ## Generate lcov report
|
lcov-report: coverage ## Generate lcov report
|
||||||
mkdir -p lcov-report
|
mkdir -p lcov-report
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue