Update main.yml
This commit is contained in:
parent
525db87185
commit
42d09806b5
|
@ -304,7 +304,7 @@ jobs:
|
|||
run: cd "${{ github.workspace }}/build" && make check-unit
|
||||
|
||||
- name: Run examples tests
|
||||
run: cd "${{ github.workspace }}/build" && make check-examples -j8
|
||||
run: cd "${{ github.workspace }}/build" && make check-examples -j16
|
||||
|
||||
- name: Run requires tests
|
||||
if: matrix.coverage
|
||||
|
@ -318,14 +318,6 @@ jobs:
|
|||
run: |
|
||||
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: Generate C coverage report
|
||||
if: matrix.coverage == 'codecov'
|
||||
run: |
|
||||
|
@ -345,11 +337,20 @@ jobs:
|
|||
# with Code Climate.
|
||||
find "gcov.$i" -maxdepth 1 -type f -name '#usr#*.gcov' -delete
|
||||
done
|
||||
|
||||
- name: Upload C code coverage report
|
||||
if: matrix.coverage == 'codecov'
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: "${{ github.workspace }}/gcov"
|
||||
files: "${{ github.workspace }}/build/*.gcov"
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
- 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 }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue