Skip to content

Commit 425552b

Browse files
datedfaustbrian
authored andcommitted
chore: add codecov to circleci config (#58)
* chore: add codecov to circleci config * chore: adjust .coveragerc * chore: adjust circleci config
1 parent c8c2cba commit 425552b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
name: run tests
1717
command: |
1818
. venv/bin/activate
19-
pytest -v -s --cov=ark --cov-config=.coveragerc --cov-report xml
19+
pytest -v -s --cov=crypto --cov-config=.coveragerc --cov-report xml
20+
- run:
21+
name: Codecov
22+
when: on_success
23+
command: bash <(curl -s https://codecov.io/bash)
2024
- store_artifacts:
2125
path: test-reports
2226
destination: test-reports

.coveragerc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
[run]
22
branch = True
3+
source = crypto
4+
5+
[report]
6+
exclude_lines =
7+
if self.debug:
8+
pragma: no cover
9+
raise NotImplementedError
10+
if __name__ == .__main__.:
11+
ignore_errors = True
12+
omit =
13+
tests/*

0 commit comments

Comments
 (0)