-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1581307
commit aef8414
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,21 +23,25 @@ jobs: | |
name: "Ubuntu 22.04 GCC (Release)", | ||
os: ubuntu-22.04, | ||
build_type: "Release", | ||
coverage: false, | ||
} | ||
- { | ||
name: "Ubuntu 22.04 GCC (Debug)", | ||
os: ubuntu-22.04, | ||
build_type: "Debug", | ||
coverage: true, | ||
} | ||
- { | ||
name: "macOS Latest Clang (Release)", | ||
os: macos-latest, | ||
build_type: "Release", | ||
coverage: false, | ||
} | ||
- { | ||
name: "Windows Latest (Release)", | ||
os: windows-latest, | ||
build_type: "Release", | ||
coverage: false, | ||
} | ||
|
||
steps: | ||
|
@@ -71,6 +75,12 @@ jobs: | |
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | ||
run: ctest -C ${{ matrix.config.build_type }} --verbose -R channel_test* | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
if: matrix.config.coverage == true | ||
|
||
- name: Run examples | ||
working-directory: ${{github.workspace}}/build | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "100...100" | ||
status: | ||
project: true | ||
patch: true | ||
changes: true | ||
|
||
ignore: | ||
- 'tests/*' |