Skip to content

Commit

Permalink
Remove code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroGuerraPT committed Jun 10, 2023
1 parent caf17c6 commit 7dcb98e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ jobs:
shell: bash
run: |
GTEST_INCLUDE_DIR=/usr/src/gtest/include make test
- name: Generate JSON coverage with gcovr
run: |
make coverage-coveralls
- name: Upload coverage to coveralls
uses: coverallsapp/github-action@v2
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,9 @@ test:
@cp -R $(TEST_SRC_DIR)/infoPanel_test_data $(BUILD_TEST_DIR)/
cd $(BUILD_TEST_DIR) && ./test

# Static analysis with cppcheck
static-analysis:
@cd $(ROOT_DIR)
@cppcheck -I $(INCLUDE_DIR) --enable=all $(SRC_DIR)

coverage-html:
@cd $(BUILD_TEST_DIR)
@gcovr -r . --html --html-details -o coverage.html

coverage-coveralls:
@cd $(BUILD_TEST_DIR)
@gcovr -r . --coveralls -o coverage.json

format:
@find ./src -regex '.*\.\(c\|h\|cpp\|hpp\)' -exec clang-format -style=file -i {} \;

0 comments on commit 7dcb98e

Please sign in to comment.