From acb6077f7f73bcecb9f896b2393640285f121e77 Mon Sep 17 00:00:00 2001 From: jatin Date: Mon, 29 Apr 2024 00:25:43 -0700 Subject: [PATCH] More fixes --- .github/workflows/run-tests.yml | 9 +++++---- codecov.yml | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index fa1e5ef4f..98cfc18f6 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -60,6 +60,8 @@ jobs: # so we don't break GitHub Actions concurrency limit - name: "Test" os: macos-latest + - name: "Coverage" + os: macos-latest - name: "Coverage" os: windows-2022 @@ -133,8 +135,8 @@ jobs: working-directory: ${{env.WORK_DIR}} shell: bash run: | - lcov --directory . --ignore-errors gcov --capture --output-file coverage.info - lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' '/Applications/Xcode*' '*build/*' '*JUCE/modules*' '*foleys_*' '*chowdsp_utils/tests*' '*third_party*' '*chowdsp_foleys*' '*chowdsp_core/JUCEHelpers*' --output-file coverage.info + lcov --directory . --capture --output-file coverage.info + lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' '/Applications/Xcode*' '*chowdsp_utils/build/*' '*JUCE/modules*' '*foleys_*' '*chowdsp_utils/tests*' '*third_party*' '*chowdsp_foleys*' '*chowdsp_core/JUCEHelpers*' --output-file coverage.info - name: Report Coverage Data if: matrix.run_coverage @@ -149,7 +151,6 @@ jobs: working-directory: ${{env.WORK_DIR}} fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} - disable_search: true - plugins: "" files: ${{env.WORK_DIR}}/coverage.info + codecov_yml_path: ${{env.WORK_DIR}}/codecov.yml verbose: true diff --git a/codecov.yml b/codecov.yml index d128ece1f..5bbe9e95a 100644 --- a/codecov.yml +++ b/codecov.yml @@ -4,3 +4,5 @@ ignore: - "modules/gui/chowdsp_foleys" - "modules/gui/chowdsp_gui/Presets" - "**/third_party/**" + - "build/**" + - "tests/**"