Skip to content

Commit 4e47f7b

Browse files
authored
Update rpe_test.yml to generate coverage report before upload
1 parent b0c77b5 commit 4e47f7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/rpe_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ 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
254+
ls -l
254255
255256
- name: Upload results to Codecov
256257
uses: codecov/codecov-action@v4
@@ -266,3 +267,4 @@ jobs:
266267
with:
267268
token: ${{ secrets.CODECOV_TOKEN }}
268269
slug: os-fpga/rapid_power_estimator
270+
files: ./coverage.xml,./coverage/lcov.info

0 commit comments

Comments
 (0)