From 34945e39c45ae2da0ccbf25bd019003b5065ffd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Sat, 15 May 2021 17:10:20 +0200 Subject: [PATCH] ci - Use CTest for coverage builds --- .github/workflows/on_PR_linux_special_buils.yml | 12 ++++-------- .github/workflows/on_push_ExtraJobsForMain.yml | 6 ++---- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/on_PR_linux_special_buils.yml b/.github/workflows/on_PR_linux_special_buils.yml index e3f0d745..53e7fa8b 100644 --- a/.github/workflows/on_PR_linux_special_buils.yml +++ b/.github/workflows/on_PR_linux_special_buils.yml @@ -40,10 +40,8 @@ jobs: env: EXIV2_EXT: .exe run: | - cd build/bin - ./unit_tests - cd ../../tests/ - python runner.py -v + cd build + ctest --output-on-failure bash <(curl -s https://codecov.io/bash) special_releaseValgrind: @@ -119,10 +117,8 @@ jobs: env: EXIV2_EXT: .exe run: | - cd build/bin - ./unit_tests - cd ../../tests/ - python runner.py -v + cd build + ctest --output-on-failure special_allEnabled: name: 'Ubuntu 20.04 - GCC - All Options Enabled' diff --git a/.github/workflows/on_push_ExtraJobsForMain.yml b/.github/workflows/on_push_ExtraJobsForMain.yml index 79ac1b7b..f22d5a6d 100644 --- a/.github/workflows/on_push_ExtraJobsForMain.yml +++ b/.github/workflows/on_push_ExtraJobsForMain.yml @@ -41,8 +41,6 @@ jobs: env: EXIV2_EXT: .exe run: | - cd build/bin - ./unit_tests - cd ../../tests/ - python runner.py -v + cd build + ctest --output-on-failure bash <(curl -s https://codecov.io/bash)