File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,25 +8,29 @@ on: [push, pull_request]
88
99jobs :
1010 build :
11-
1211 runs-on : ubuntu-latest
1312 strategy :
1413 matrix :
1514 python-version : [3.7, 3.8, 3.9]
1615
1716 steps :
18- - uses : actions/checkout@v2
19-
20- - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v2
22- with :
23- python-version : ${{ matrix.python-version }}
24-
25- - name : Install dependencies
26- run : |
27- python -m pip install --upgrade pip
28- python -m pip install pytest pytest-cov pytest-responses responses
29-
30- - name : Test with pytest and coverage
31- run : |
32- pytest --cov=datacrunch
17+ - uses : actions/checkout@v2
18+
19+ - name : Set up Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v2
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+
24+ - name : Install dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ python -m pip install pytest pytest-cov pytest-responses responses
28+
29+ - name : Test with pytest and coverage
30+ run : |
31+ pytest --cov=datacrunch
32+
33+ - name : " Upload coverage to Codecov"
34+ uses : codecov/codecov-action@v1
35+ with :
36+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 11# DataCrunch Python SDK
22
33<p >
4+ <a href =' https://github.com/DataCrunch-io/datacrunch-python/actions?query=workflow%3A%22Unit+Tests%22+branch%3Amaster ' >
5+ <img src='https://github.com/DataCrunch-io/datacrunch-python/workflows/Unit%20Tests/badge.svg'></img>
6+ </a >
7+ <a href =' https://github.com/DataCrunch-io/datacrunch-python/actions?query=workflow%3A%22Code+Style%22+branch%3Amaster ' >
8+ <img src='https://github.com/DataCrunch-io/datacrunch-python/workflows/Code%20Style/badge.svg'></img>
9+ </a >
10+ <a href =' https://datacrunch-python.readthedocs.io/en/latest/ ' >
11+ <img src='https://readthedocs.org/projects/datacrunch-python/badge/?version=latest'></img>
12+ </a >
413 <a href =' https://github.com/DataCrunch-io/datacrunch-python/blob/master/LICENSE ' >
514 <img src='https://img.shields.io/github/license/DataCrunch-io/datacrunch-python'></img>
615 </a >
You can’t perform that action at this time.
0 commit comments