Skip to content

Commit 43cd32f

Browse files
author
Kharude, Sachin
committed
Added codecov upload step in CI
Signed-off-by: Kharude, Sachin <sachin.kharude@here.com>
1 parent dbf9bbf commit 43cd32f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,13 @@ jobs:
5353
HERE_PASSWORD: ${{ secrets.HERE_PASSWORD }}
5454
run: |
5555
pytest -v --durations=10 --cov-report=xml --cov=xyzspaces tests
56-
codecov
56+
57+
- name: Upload coverage to Codecov
58+
uses: codecov/codecov-action@v1
59+
with:
60+
token: ${{ secrets.CODECOV_TOKEN }}
61+
file: ./coverage.xml
62+
flags: unittests
5763

5864
- name: Build Docs and Changelog (Only on Linux for saving time)
5965
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)