Remove unnecessary code coverage.

This commit is contained in:
realaltffour 2020-04-18 12:21:06 +03:00
parent 37121825ee
commit e5b7dfceff
No known key found for this signature in database
GPG Key ID: 7115CD2AC9A76A56
6 changed files with 1 additions and 29 deletions

View File

@ -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 }}

View File

@ -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)

View File

@ -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.

View File

@ -1,8 +0,0 @@
#!/bin/sh
mkdir -p build && cd build
cmake -DCODE_COVERAGE:BOOL=TRUE ..
make -j$(nproc)
ctest -j$(nproc)
cd ..

View File

@ -1,2 +0,0 @@
add_executable(tests test_main.cpp)
add_test(NAME test COMMAND tests)

View File

@ -1,4 +0,0 @@
int main()
{
return 0;
}