From b41b3b3b0b0aa5aa7440c4163eeab23134a4f6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Podg=C3=B3rski?= Date: Thu, 30 Jan 2020 23:25:47 +0100 Subject: [PATCH] remove codecov (#118) --- .github/workflows/build.yml | 9 +-------- CMakeLists.txt | 4 ---- README.md | 1 - 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8669985d..06a90ada 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,23 +7,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Configure - run: cmake -DENABLE_COVERAGE=ON -DSANITIZE_ADDRESS=On . + run: cmake -DSANITIZE_ADDRESS=On . - name: Build run: cmake --build . - name: Test run: ASAN_OPTIONS=detect_leaks=0 LSAN_OPTIONS=verbosity=1:log_threads=1 ctest -VV - - name: CodeCov - run: bash <(curl -s https://codecov.io/bash) - - macos: runs-on: macos-latest steps: - uses: actions/checkout@v2 - - name: Configure run: | pip3 install scan-build @@ -38,7 +32,6 @@ jobs: runs-on: "windows-latest" steps: - uses: actions/checkout@v2 - - name: Configure run: cmake . - name: Build diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cc97e42..656a4237 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,6 @@ elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror -pedantic") - if(ENABLE_COVERAGE) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage") - endif() endif (MSVC) # zip diff --git a/README.md b/README.md index 8356128f..bdd0822b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ This is done by hacking awesome [miniz](https://code.google.com/p/miniz) library [![Build](https://github.com/kuba--/zip/workflows/build/badge.svg)](https://github.com/kuba--/zip/actions?query=workflow%3Abuild) [![Version](https://badge.fury.io/gh/kuba--%2Fzip.svg)](https://github.com/kuba--/zip/releases) -[![Codecov](https://codecov.io/gh/kuba--/zip/branch/master/graph/badge.svg)](https://codecov.io/gh/kuba--/zip) # The Idea