Skip to content

Commit

Permalink
Try to fix codecov (#3946)
Browse files Browse the repository at this point in the history
Update the main workflow to use the GitHub Action version of `codecov` instead of the bash version.
  • Loading branch information
Elv13 authored Aug 25, 2024
1 parent 67f5e7f commit 7034db3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,18 @@ jobs:
- name: Run themes tests
run: cd "${{ github.workspace }}/build" && make check-themes

- name: Upload Lua code coverage report
- name: Generate Lua coverage report
if: matrix.coverage == 'codecov'
run: |
luacov
bash /tmp/codecov-bash -f build/luacov.report.out -X gcov -X coveragepy -F luacov
- 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'
Expand Down

0 comments on commit 7034db3

Please sign in to comment.