Skip to content

Commit

Permalink
ci: refine coverage codecov reports (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
msclock authored Mar 15, 2024
1 parent 412d342 commit 315134d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ jobs:
uses: codecov/codecov-action@v4.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: out/build/${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.type }}/code_coverage/coverage.xml
flags: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.presets.compiler.type }}-${{ matrix.vcpkg }}
name: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.presets.compiler.type }}-${{ matrix.vcpkg }}-coverage
directory: out/build/${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.type }}/code_coverage
files: ./coverage.xml, ./coverage.info, ./coverage.json
flags: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.vcpkg }}
name: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.vcpkg }}-coverage

pass:
if: always()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ jobs:
uses: codecov/codecov-action@v4.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: out/build/${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.type }}/code_coverage/coverage.xml
flags: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.presets.compiler.type }}-${{ matrix.vcpkg }}
name: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.presets.compiler.type }}-${{ matrix.vcpkg }}-coverage
directory: out/build/${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.type }}/code_coverage
files: ./coverage.xml, ./coverage.info, ./coverage.json
flags: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.vcpkg }}
name: ${{ matrix.arch.type }}-${{ matrix.presets.os.type }}-${{ matrix.presets.compiler.name }}-${{ matrix.vcpkg }}-coverage

pass:
if: always()
Expand Down
4 changes: 2 additions & 2 deletions template/vcpkg.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
[%- endif %]
{
"name": "cmake-modules",
"version": "1.3.15"
"version": "1.3.17"
},
{
"name": "robotology-cmake-ycm",
Expand All @@ -48,7 +48,7 @@
"registries": [
{
"kind": "git",
"baseline": "7bb7d6b2b5d4ca7d532596d98fd5ff73d6bd4ae0",
"baseline": "c4c46309422d8602c712a2d7c3e1987c0e6aeab3",
"repository": "https://github.com/msclock/cmake-registry",
"packages": [
[%- if use_conan == true %]
Expand Down
4 changes: 2 additions & 2 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
{
"name": "cmake-modules",
"version": "1.3.15"
"version": "1.3.17"
},
{
"name": "robotology-cmake-ycm",
Expand All @@ -26,7 +26,7 @@
"registries": [
{
"kind": "git",
"baseline": "7bb7d6b2b5d4ca7d532596d98fd5ff73d6bd4ae0",
"baseline": "c4c46309422d8602c712a2d7c3e1987c0e6aeab3",
"repository": "https://github.com/msclock/cmake-registry",
"packages": [
"cmake-modules",
Expand Down

0 comments on commit 315134d

Please sign in to comment.