Skip to content

Commit 914a541

Browse files
Acrescentada cobertura de código
close #23
1 parent 6ced5ba commit 914a541

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ python:
33
-3.10
44
-2.7
55
install:
6-
- pip install -q -r requirements-dev.txt
6+
- pip install -q -r requirements-dev.txt codecov
77
script:
88
-flake8
9-
-pytest libpythonpro
9+
-pytest lybpythonproo --cov=libpythonproo
10+
after_success:
11+
-codecov

libpythonpro/tests/requirements-dev.txt

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

libpythonpro/tests/test_exemplo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
def test_int():
2-
assert 1 == 0
2+
assert 1 == 1

requirements-dev.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ py==1.11.0
1616
pyparsing==3.0.8
1717
more-itertools-8.12.0
1818
six-1.16.0
19+
20+
#Converage
21+
coverage==6.3.2
22+
pytest-cov==3.0.0
23+
1924
-r requirements.txt

0 commit comments

Comments
 (0)