Skip to content

Commit

Permalink
fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
benja263 committed Jul 22, 2024
1 parent dc1a7a7 commit 4f8bc3d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ jobs:
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
- name: Combine coverage reports
run: |
lcov --add-tracefile coverage.info --output-file combined.info
coverage combine
coverage xml -o combined_coverage.xml
- name: Upload Python coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
flags: python
name: python-coverage
fail_ci_if_error: true

- name: Upload coverage to Codecov
- name: Upload C++ coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: |
./coverage.info
./combined_coverage.xml
flags: unittests
name: codecov-umbrella
files: ./coverage.info
flags: cpp
name: cpp-coverage
fail_ci_if_error: true
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ GBRL is a Python-based Gradient Boosting Trees (GBT) library, similar to popular
[![Build Status](https://img.shields.io/github/workflow/status/Nvlabs/gbrl/CI)](https://github.com/NVlabs/gbrl/actions)
[![License](https://img.shields.io/badge/license-NVIDIA-green.svg)](https://nvlabs.github.io/gbrl/license.htm)
[![PyPI version](https://badge.fury.io/py/gbrl.svg)](https://badge.fury.io/py/gbrl)
[![codecov](https://codecov.io/gh/Nvlabs/gbrl/branch/master/graph/badge.svg)](https://codecov.io/gh/Nvlabs/gbrl)
[![Python Coverage](https://codecov.io/gh/Nvlabs/gbrl/branch/master/graph/badge.svg?flag=python)](https://codecov.io/gh/Nvlabs/gbrl)
[![C++ Coverage](https://codecov.io/gh/Nvlabs/gbrl/branch/master/graph/badge.svg?flag=cpp)](https://codecov.io/gh/Nvlabs/gbrl)

## Overview

Expand Down

0 comments on commit 4f8bc3d

Please sign in to comment.