File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,14 @@ jobs:
31
31
32
32
- name : Run tests and collect coverage
33
33
run : |
34
- coverage run --source=tests,cpp_linter_hooks -m pytest
35
- coverage report -m
36
- coverage html
37
- - name : Upload coverage reports to Codecov
38
- run : |
39
- # Replace `linux` below with the appropriate OS
40
- # Options are `alpine`, `linux`, `macos`, `windows`
41
- curl -Os https://uploader.codecov.io/latest/linux/codecov
42
- chmod +x codecov
43
- ./codecov -t ${CODECOV_TOKEN}
34
+ coverage run --source=tests,cpp_linter_hooks -m pytest -vv
35
+ coverage report
36
+ coverage xml
37
+ - uses : codecov/codecov-action@v3
38
+ with :
39
+ files : ./coverage.xml
40
+ fail_ci_if_error : true # optional (default = false)
41
+ verbose : true # optional (default = false)
44
42
- name : Test hooks
45
43
run : |
46
44
pip install pre-commit
You can’t perform that action at this time.
0 commit comments