Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Elv13 authored Aug 27, 2024
1 parent 59005ca commit 8ef35f5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ef35f5

Please sign in to comment.