Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Commit 8d4be96

Browse files
committed
fix gpu coverage
1 parent dcfe896 commit 8d4be96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/core-gpu-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ jobs:
4646
- name: Run GPU CI
4747
shell: bash
4848
run: |
49+
mkdir build_coverage/
4950
coverage run -m pytest ./ -m cuda --cov-config=setup.cfg --cov-report= --cov=mars
51+
coverage combine
52+
mv .coverage build_coverage/.coverage.gpu_ctx.file
53+
coverage combine build_coverage/ && coverage report
5054
coverage xml
5155
5256
- name: Report coverage data
@@ -55,3 +59,4 @@ jobs:
5559
bash <(curl -s https://codecov.io/bash)
5660
rm -rf *.coverage*
5761
rm -rf coverage.xml
62+
rm -rf build_coverage/

0 commit comments

Comments
 (0)