File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 4848
4949 - name : Run pytest
5050 run : pytest tensorbay
51+
52+ - if : " startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.8"
53+ name : Upload coverage data to coveralls.io
54+ run : |
55+ pytest tensorbay --cov
56+ coveralls --service=github
57+ env :
58+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 33[ ![ Pre-commit] ( https://github.com/Graviti-AI/tensorbay-python-sdk/actions/workflows/pre-commit.yaml/badge.svg )] ( https://github.com/Graviti-AI/tensorbay-python-sdk/actions/workflows/pre-commit.yaml )
44[ ![ Unit Test] ( https://github.com/Graviti-AI/tensorbay-python-sdk/actions/workflows/unit_test.yaml/badge.svg )] ( https://github.com/Graviti-AI/tensorbay-python-sdk/actions/workflows/unit_test.yaml )
55[ ![ Documentation Status] ( https://readthedocs.org/projects/tensorbay-python-sdk/badge/?version=latest )] ( https://tensorbay-python-sdk.graviti.com/en/latest/?badge=latest )
6+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/Graviti-AI/tensorbay-python-sdk/badge.svg )] ( https://coveralls.io/github/Graviti-AI/tensorbay-python-sdk )
67[ ![ GitHub] ( https://img.shields.io/github/license/Graviti-AI/tensorbay-python-sdk )] ( https://github.com/Graviti-AI/tensorbay-python-sdk/blob/main/LICENSE )
78[ ![ PyPI] ( https://img.shields.io/pypi/v/tensorbay )] ( https://pypi.org/project/tensorbay/ )
89[ ![ PyPI - Python Version] ( https://img.shields.io/pypi/pyversions/tensorbay )] ( https://pypi.org/project/tensorbay/ )
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ astroid == 2.5.2
2323
2424# test
2525pytest == 6.2.2
26- pytest-cov
26+ pytest-cov == 2.11.1
27+ coveralls == 2.2
2728
2829# optional dependences
2930scipy >= 1.3.2
You can’t perform that action at this time.
0 commit comments