Update main.yml
This commit is contained in:
parent
59005ca3f7
commit
8ef35f56a3
|
@ -337,11 +337,8 @@ jobs:
|
||||||
# with Code Climate.
|
# with Code Climate.
|
||||||
find "gcov.$i" -maxdepth 1 -type f -name '#usr#*.gcov' -delete
|
find "gcov.$i" -maxdepth 1 -type f -name '#usr#*.gcov' -delete
|
||||||
done
|
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'
|
if: matrix.coverage == 'codecov'
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
|
@ -349,6 +346,14 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
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.
|
# `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
|
- name: Run qa tests
|
||||||
if: matrix.check_qa
|
if: matrix.check_qa
|
||||||
|
|
Loading…
Reference in New Issue