Skip to content

Commit b6cb700

Browse files
committed
add coverage stages
Signed-off-by: Chris Snow <[email protected]>
1 parent 00cc0e3 commit b6cb700

File tree

2 files changed

+18
-26
lines changed

2 files changed

+18
-26
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ after_success:
2323

2424
jobs:
2525
include:
26+
- stage: coverage_library
27+
name: "Code coverage LIBRARY (./hpecp)"
28+
python: 3.8
29+
install:
30+
- pip3 install coverage
31+
script:
32+
- coverage erase
33+
- coverage run --source hpecp/ setup.py test
34+
- coverage report -m
35+
- stage: coverage_cli
36+
name: "Code coverage CLI (./bin)"
37+
python: 3.8
38+
install:
39+
- pip3 install coverage
40+
script:
41+
- coverage erase
42+
- coverage run --source bin/ setup.py test
43+
- coverage report -m
2644
- stage: flake8
2745
name: "Flake8 code checks"
2846
python: 3.8

hpecp/tag.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)