Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0512015

Browse files
authoredJul 3, 2024··
Merge pull request #63 from Tieqiong/cookierelease
cookie release
2 parents 2462d39 + 4e3f684 commit 0512015

File tree

120 files changed

+15725
-13322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+15725
-13322
lines changed
 

‎.codecov.yml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
fixes:
2-
- ".*/site-packages/::src/"
1+
# codecov can find this file anywhere in the repo, so we don't need to clutter
2+
# the root folder.
3+
#comment: false
4+
5+
codecov:
6+
notify:
7+
require_ci_to_pass: no
8+
9+
coverage:
10+
status:
11+
patch:
12+
default:
13+
target: '70'
14+
if_no_uploads: error
15+
if_not_found: success
16+
if_ci_failed: failure
17+
project:
18+
default: false
19+
library:
20+
target: auto
21+
if_no_uploads: error
22+
if_not_found: success
23+
if_ci_failed: error
24+
paths: '!*/tests/.*'
25+
26+
tests:
27+
target: 97.9%
28+
paths: '*/tests/.*'
29+
if_not_found: success
30+
31+
flags:
32+
tests:
33+
paths:
34+
- tests/

‎.coveragerc

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
# Configuration of the coverage.py tool for reporting test coverage.
2-
3-
[report]
4-
# RE patterns for lines to be excluded from consideration.
5-
exclude_lines =
6-
## Have to re-enable the standard pragma
7-
pragma: no cover
8-
## Don't complain if tests don't hit defensive assertion code:
9-
raise AssertionError
10-
raise NotImplementedError
11-
^[ ]*assert False
12-
13-
## Don't complain if non-runnable code isn't run:
14-
^[ ]*@unittest.skip\b
15-
^[ ]{4}unittest.main()
16-
if __name__ == .__main__.:
17-
18-
191
[run]
2+
source =
3+
diffpy.structure
4+
[report]
205
omit =
21-
## Exclude from codecov report:
22-
*/tests/debug.py
23-
*/apps/*.py
24-
# TODO remove in version 3.1
25-
*/applications/*.py
6+
*/python?.?/*
7+
*/site-packages/nose/*
8+
# ignore _version.py and versioneer.py
9+
.*version.*
10+
*_version.py
11+
12+
exclude_lines =
13+
if __name__ == '__main__':

0 commit comments

Comments
 (0)
Please sign in to comment.