ci: skip coveralls if no coverdata found

This commit is contained in:
Ivan Dyachkov 2024-05-07 19:33:20 +02:00
parent bd1c4f9e62
commit 1f8ef341d6
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ jobs:
ENABLE_COVER_COMPILE: 1
CT_COVER_EXPORT_PREFIX: ${{ matrix.profile }}-${{ matrix.otp }}
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()