Remove unnecessary code coverage.
This commit is contained in:
parent
37121825ee
commit
e5b7dfceff
|
@ -53,12 +53,3 @@ jobs:
|
|||
with:
|
||||
name: Releasable Installers
|
||||
path: artifacts/
|
||||
|
||||
build-codecov-report:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Codecov
|
||||
run: |
|
||||
./buildCodeCov.sh
|
||||
bash <(curl -s https://codecov.io/bash) -X gcov -t ${{ secrets.CODECOV_TOKEN }}
|
||||
|
|
|
@ -16,11 +16,7 @@ if(CODE_COVERAGE)
|
|||
-g # generate debug info
|
||||
--coverage # sets all required flags
|
||||
)
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.13)
|
||||
target_link_options(coverage_config INTERFACE --coverage)
|
||||
else()
|
||||
target_link_libraries(coverage_config INTERFACE --coverage)
|
||||
endif()
|
||||
target_link_libraries(coverage_config INTERFACE --coverage)
|
||||
endif(CODE_COVERAGE)
|
||||
|
||||
add_subdirectory(src)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# fixmydownloads
|
||||
![CI](https://github.com/realaltffour/fixmydownloads/workflows/CI/badge.svg?branch=master&event=push)
|
||||
[![codecov](https://codecov.io/gh/realaltffour/fixmydownloads/branch/master/graph/badge.svg)](https://codecov.io/gh/realaltffour/fixmydownloads)
|
||||
</br>
|
||||
The simplest downloads folder organizer Linux service.
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir -p build && cd build
|
||||
|
||||
cmake -DCODE_COVERAGE:BOOL=TRUE ..
|
||||
make -j$(nproc)
|
||||
ctest -j$(nproc)
|
||||
cd ..
|
|
@ -1,2 +0,0 @@
|
|||
add_executable(tests test_main.cpp)
|
||||
add_test(NAME test COMMAND tests)
|
|
@ -1,4 +0,0 @@
|
|||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue