mirror of
https://github.com/awesomeWM/awesome
synced 2024-09-28 03:20:22 +02:00
Try to fix codecov (#3946)
Update the main workflow to use the GitHub Action version of `codecov` instead of the bash version.
This commit is contained in:
parent
67f5e7feca
commit
7034db3a44
1 changed files with 9 additions and 2 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue