Skip to content

Commit

Permalink
test cleanup v2 (#57)
Browse files Browse the repository at this point in the history
* remove unused test files

* update include/ignore patterns for gcov

* fix include paths

* add codecov config file

* remove unused files, update codecov.yml

* test

* v4

* a
  • Loading branch information
pajlada authored Jan 14, 2024
1 parent 7aecf4d commit 59b4098
Show file tree
Hide file tree
Showing 46 changed files with 37 additions and 2,202 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ jobs:

- name: Upload coverage reports to Codecov
if: matrix.os == 'ubuntu-22.04'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4-beta
with:
token: ${{ secrets.CODECOV_TOKEN }}
gcov: true
verbose: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*build*

compile_commands.json
/.cache
.cache/

CMakeUserPresets.json

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

project(PajladaSettings)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

option(PAJLADA_SETTINGS_USE_CONAN "Use conan file manager to handle dependencies" OFF)

if (PAJLADA_SETTINGS_USE_CONAN)
Expand Down Expand Up @@ -89,5 +91,3 @@ if(NOT MSVC)
target_link_libraries(PajladaSettings INTERFACE $<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:stdc++fs>)
endif()

set(CMAKE_EXPORT_COMPILE_COMMANDS YES)

2 changes: 0 additions & 2 deletions clean-coverage.sh

This file was deleted.

3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- "tests"
- "external"
4 changes: 0 additions & 4 deletions generate-coverage.sh

This file was deleted.

155 changes: 0 additions & 155 deletions src/test/advanced-array.cpp

This file was deleted.

127 changes: 0 additions & 127 deletions src/test/bad-instance.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions src/test/channel.cpp

This file was deleted.

Loading

0 comments on commit 59b4098

Please sign in to comment.