Update main.yml

This commit is contained in:
Emmanuel Lepage Vallée 2024-08-27 12:26:42 +02:00 committed by GitHub
parent 59005ca3f7
commit 8ef35f56a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 4 deletions

View File

@ -337,17 +337,22 @@ jobs:
# with Code Climate.
find "gcov.$i" -maxdepth 1 -type f -name '#usr#*.gcov' -delete
done
echo "All gcov files:"
find / -iname '*gcov*' 2> /dev/null || true
echo "PWD ${PWD}"
- name: Upload code coverage report
- name: Upload Lua code coverage report
if: matrix.coverage == 'codecov'
uses: codecov/codecov-action@v3
with:
files: "${{ github.workspace }}/build/luacov.report.out"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload C code coverage report
if: matrix.coverage == 'codecov'
uses: codecov/codecov-action@v3
with:
files: "${{ github.workspace }}/build/*/*.gcov"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# `check-qa` is the only test that doesn't get a coverage report, so it has to run after all of that.
- name: Run qa tests