Skip to content

Commit 2aa7d94

Browse files
Merge pull request #230 from databrickslabs/feature_0.0.10_code_cov
Fixed code cov github action
2 parents cfee76d + 3369509 commit 2aa7d94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/onpush.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,18 @@ jobs:
6161
- name: Run Unit Tests
6262
run: python -m coverage run -m pytest tests/ -v
6363

64+
- name: Generate coverage XML
65+
run: python -m coverage xml -o coverage.xml
66+
6467
- name: Publish test coverage
6568
if: startsWith(matrix.os,'ubuntu')
6669
uses: codecov/codecov-action@v3
6770
with:
6871
token: ${{ secrets.CODECOV_TOKEN }}
72+
files: ./coverage.xml
6973
env_vars: OS,PYTHON
7074
fail_ci_if_error: true
7175
flags: unittests
7276
name: codecov-umbrella
73-
path_to_write_report: ./coverage/codecov_report.txt
7477
verbose: true
7578

0 commit comments

Comments
 (0)