File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ install:
13
13
14
14
script :
15
15
- tox
16
- - coverage run --source hpecp setup.py test
16
+ - coverage run --source hpecp,bin setup.py test
17
17
- coverage report -m
18
18
- python --version 2>&1 | grep '2.7' || python setup.py install # (don't run on 2.7)
19
19
- python --version 2>&1 | grep '2.7' || echo q | ./bin/hpecp --help # check cli outputs help and doesn't return an error (don't run on 2.7)
@@ -30,17 +30,17 @@ jobs:
30
30
- pip3 install coverage
31
31
script :
32
32
- coverage erase
33
- - coverage run --source hpecp/ setup.py test
34
- - coverage report -m
33
+ - coverage run --source hpecp setup.py test
34
+ - coverage report -m --fail-under 68
35
35
- stage : coverage_cli
36
36
name : " Code coverage CLI (./bin)"
37
37
python : 3.8
38
38
install :
39
39
- pip3 install coverage
40
40
script :
41
41
- coverage erase
42
- - coverage run --source bin/ setup.py test
43
- - coverage report -m
42
+ - coverage run --source bin setup.py test
43
+ - coverage report -m --fail-under 32
44
44
- stage : flake8
45
45
name : " Flake8 code checks"
46
46
python : 3.8
You can’t perform that action at this time.
0 commit comments