Skip to content

Commit f04c782

Browse files
authored
Merge pull request #85 from bobleesj/recookiecut
Recookiecut
2 parents c5a50dc + 8eba008 commit f04c782

25 files changed

+295
-398
lines changed

Diff for: .codecov.yml

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
# the root folder.
33
#comment: false
44

5-
fixes:
6-
- ".*/site-packages/::src/"
7-
85
codecov:
96
notify:
107
require_ci_to_pass: no

Diff for: .coveragerc

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
[run]
22
source =
33
diffpy.pdffit2
4-
omit =
5-
# exclude debug.py from codecov report
6-
*/tests/debug.py
74
[report]
85
omit =
96
*/python?.?/*
107
*/site-packages/nose/*
118
# ignore _version.py and versioneer.py
129
.*version.*
1310
*_version.py
14-
# RE patterns for lines to be excluded from consideration.
15-
exclude_lines =
16-
# Have to re-enable the standard pragma
17-
pragma: no cover
18-
# Don't complain if tests don't hit defensive assertion code:
19-
raise AssertionError
20-
raise NotImplementedError
21-
^[ ]*assert False
2211

23-
# Don't complain if non-runnable code isn't run:
24-
^[ ]*@unittest.skip\b
25-
^[ ]{4}unittest.main()
12+
exclude_lines =
2613
if __name__ == '__main__':

Diff for: .github/workflows/check-news-item.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check for News
2+
3+
on:
4+
pull_request_target:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
uses: Billingegroup/release-scripts/.github/workflows/_check-news-item.yml@v0
11+
with:
12+
project: diffpy.pdffit2

Diff for: .github/workflows/codecov.yml

-54
This file was deleted.

Diff for: .github/workflows/docs.yml

-48
This file was deleted.

Diff for: .github/workflows/main.yml

-43
This file was deleted.
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
release:
8+
types:
9+
- prereleased
10+
- published
11+
workflow_dispatch:
12+
13+
jobs:
14+
coverage:
15+
uses: Billingegroup/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0
16+
with:
17+
project: diffpy.pdffit2
18+
c_extension: true
19+
headless: false
20+
secrets:
21+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Diff for: .github/workflows/matrix.yml

-48
This file was deleted.

Diff for: .github/workflows/publish-docs-on-release.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Build and Deploy Docs
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
workflow_dispatch:
8+
9+
jobs:
10+
docs:
11+
uses: Billingegroup/release-scripts/.github/workflows/_publish-docs-on-release.yml@v0
12+
with:
13+
project: diffpy.pdffit2
14+
c_extension: true

Diff for: .github/workflows/tests-on-pr.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Tests on PR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
validate:
12+
uses: Billingegroup/release-scripts/.github/workflows/_tests-on-pr.yml@v0
13+
with:
14+
project: diffpy.pdffit2
15+
c_extension: true
16+
headless: false

0 commit comments

Comments
 (0)