Skip to content

Commit 0337d6a

Browse files
authored
chore: adding coverage upload (#13)
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
1 parent c41500e commit 0337d6a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,3 @@ All compliance and release workflows reuse templates from [NVIDIA-NeMo/FW-CI-tem
194194
| `config/.secrets.baseline` | False positives for secrets detector |
195195
| `../../.python-version` | Python version for uv packaging |
196196
| `../../src/nemo_safe_synthesizer/package_info.py` | Version information |
197-
198-

.github/workflows/ci-checks.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,11 @@ jobs:
126126
name: coverage-report
127127
path: coverage.xml
128128
retention-days: 30
129+
130+
- name: Upload coverage to Codecov
131+
uses: codecov/codecov-action@v5
132+
if: matrix.python-version == '3.11'
133+
with:
134+
files: coverage.xml
135+
token: ${{ secrets.CODECOV_TOKEN }}
136+
fail_ci_if_error: false

0 commit comments

Comments
 (0)