From 6a3560868fbce54ed82d66a2ed1df7104df0ee20 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Tue, 7 May 2024 19:48:09 +0200 Subject: [PATCH] ci: skip coveralls if no coverdata found --- .github/workflows/run_test_cases.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_test_cases.yaml b/.github/workflows/run_test_cases.yaml index 6a8d84f2f..3174bae66 100644 --- a/.github/workflows/run_test_cases.yaml +++ b/.github/workflows/run_test_cases.yaml @@ -78,9 +78,7 @@ jobs: ENABLE_COVER_COMPILE: 1 CT_COVER_EXPORT_PREFIX: ${{ matrix.profile }}-${{ matrix.otp }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - stat -t -- './_build/test/cover/*.coverdata' >/dev/null 2>&1 || exit 0 - make coveralls + run: make coveralls - name: get coveralls logs if: failure() @@ -234,7 +232,9 @@ jobs: ENABLE_COVER_COMPILE: 1 CT_COVER_EXPORT_PREFIX: ${{ matrix.profile }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: make coveralls + run: | + stat -t -- './_build/test/cover/*.coverdata' >/dev/null 2>&1 || exit 0 + make coveralls - name: get coveralls logs if: failure()