Skip to content

Commit 086fe62

Browse files
authored
Fix the capture of coverage report to upload to codecov (#229)
* Update rpe_test.yml to generate coverage report before upload * Update rpe_test.yml clean up
1 parent b0c77b5 commit 086fe62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/rpe_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ jobs:
250250
- name: Run pytest with Codecov
251251
run: |
252252
source venv/bin/activate
253-
python3 -m pytest --cov=. --cov-report=term-missing
253+
python3 -m pytest --cov=. --cov-report=term-missing --cov-report=xml
254254
255255
- name: Upload results to Codecov
256256
uses: codecov/codecov-action@v4
@@ -266,3 +266,4 @@ jobs:
266266
with:
267267
token: ${{ secrets.CODECOV_TOKEN }}
268268
slug: os-fpga/rapid_power_estimator
269+
files: ./coverage.xml,./coverage/lcov.info

0 commit comments

Comments
 (0)