Skip to content

Commit

Permalink
[CI] add coverage test on cuda device
Browse files Browse the repository at this point in the history
  • Loading branch information
cir7 committed Sep 13, 2022
1 parent a15b934 commit 2030bdf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr_stage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ jobs:
run: |
python setup.py check -m -s
TORCH_CUDA_ARCH_LIST=7.0 pip install -e .
- name: Run unittests and generate coverage report
run: |
coverage run --branch --source mmaction -m pytest tests/
coverage xml
coverage report -m
build_windows:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 2030bdf

Please sign in to comment.