Skip to content

Commit 39b75e1

Browse files
Add codecov workflow to the testing pipeline.
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
1 parent 4de5608 commit 39b75e1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,12 @@ jobs:
5959
git config --global --add init.defaultBranch main
6060
git config --global --add advice.detachedHead true
6161
${{ startsWith(matrix.os, 'windows') && 'set PYTHONPATH=%cd% &&' || 'PYTHONPATH=`pwd`' }} pytest -s -v test
62+
63+
codecov:
64+
needs: build
65+
uses: ros-infrastructure/ci/.github/workflows/pytest.yaml@main
66+
with:
67+
codecov: true
68+
matrix-filter: del(.matrix.os[] | select(. != "ubuntu-latest")) | del(.matrix.python[] | select(. != "3.12"))
69+
secrets:
70+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[coverage:run]
2+
source = vcs2l
3+
omit =
4+
*/test/*
5+
*/venv/*
6+
*/test_workspace/*

0 commit comments

Comments
 (0)