File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 python-version : ${{ matrix.python-version }}
3131
3232 - name : Install package and test dependencies
33- run : pip install ".[test]"
33+ run : pip install ".[test]" pytest-cov
3434
3535 - name : Run tests
36- run : pytest -v --tb=short
36+ run : pytest -v --tb=short --cov=rehline --cov-report=xml --cov-report=term
37+
38+ - name : Upload coverage to Codecov
39+ if : success()
40+ uses : codecov/codecov-action@v4
41+ with :
42+ token : ${{ secrets.CODECOV_TOKEN }}
43+ file : ./coverage.xml
44+ flags : unittests
45+ name : codecov-umbrella
Original file line number Diff line number Diff line change 55[ ![ Documentation] ( https://img.shields.io/badge/docs-latest-blue.svg )] ( https://rehline-python.readthedocs.io )
66[ ![ Paper] ( https://img.shields.io/badge/NeurIPS-2023-red.svg )] ( https://openreview.net/pdf?id=3pEBW2UPAD )
77[ ![ Downloads] ( https://pepy.tech/badge/rehline )] ( https://pepy.tech/project/rehline )
8+ [ ![ Codecov] ( https://codecov.io/gh/softmin/ReHLine-python/branch/main/graph/badge.svg )] ( https://codecov.io/gh/softmin/ReHLine-python )
89
910> ** Fast, scalable, and scikit-learn compatible optimization for machine learning**
1011
You can’t perform that action at this time.
0 commit comments