Skip to content

Commit fe25b21

Browse files
author
Kharude, Sachin
committed
restricting code coverage to only master branch
Signed-off-by: Kharude, Sachin <sachin.kharude@here.com>
1 parent 532991a commit fe25b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ jobs:
5555
pytest -v --durations=10 --cov-report=xml --cov=xyzspaces tests
5656
5757
- name: Upload coverage to Codecov
58+
if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
5859
uses: codecov/codecov-action@v1
5960
with:
60-
token: ${{ secrets.CODECOV_TOKEN }}
6161
file: ./coverage.xml
6262
flags: unittests
6363

0 commit comments

Comments
 (0)