Skip to content

Commit c3629da

Browse files
committed
Generate and upload correct coverage format
1 parent 415dfe5 commit c3629da

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: github.repository == 'jthomperoo/locust-pod-autoscaler'
3434
with:
3535
token: ${{secrets.CODECOV_TOKEN}}
36-
file: ./.coverage
36+
file: ./coverage.xml
3737
flags: unittests
3838
name: locust-pod-autoscaler-unittests
3939
- name: Deploy

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.csv
22
.coverage
3-
__pycache__
3+
__pycache__
4+
coverage.xml

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ default:
99
unittest:
1010
@echo "=============Running unit tests============="
1111
coverage run --omit="*/test*" -m pytest
12+
coverage xml
1213

1314
lint:
1415
@echo "=============Linting============="

0 commit comments

Comments
 (0)