Skip to content

Commit

Permalink
fixed dependencies and removed codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
benja263 committed Jul 22, 2024
1 parent 4f8bc3d commit 811f854
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,11 @@ jobs:
lcov --capture --directory . --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
- name: Upload Python coverage to Codecov
uses: codecov/codecov-action@v2
- name: Upload coverage reports as artifacts
uses: actions/upload-artifact@v2
with:
files: ./coverage.xml
flags: python
name: python-coverage
fail_ci_if_error: true

- name: Upload C++ coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.info
flags: cpp
name: cpp-coverage
fail_ci_if_error: true
name: coverage-reports
path: |
coverage.xml
coverage.info
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +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)
[![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)
<!-- [![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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"numpy>=1.21.0",
"cmake>=3.18",
"torch>=1.10.0",
"scikit-learn>=1.0.0",
"scikit-learn>=1.5.0",
"scipy>=1.7.0",
"shap>=0.40.0",
"matplotlib>=3.5.0",
Expand Down Expand Up @@ -56,7 +56,7 @@ pybind11 = {version = "2.13.1", extras = ["global"]}
numpy = ">=1.21.0"
cmake = ">=3.18"
torch = ">=1.10.0"
scikit-learn = ">=1.0.0"
scikit-learn = ">=1.5.0"
scipy = ">=1.7.0"
shap = ">=0.40.0"
matplotlib = ">=3.5.0"
Expand Down

0 comments on commit 811f854

Please sign in to comment.