-
Notifications
You must be signed in to change notification settings - Fork 38
Re-cookiecut: implement codecov, install pdffit2 rc, limit to py3.12 #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
cbcc620
Add codespell, github workflows
bobleesj a5971c5
Reset codecov.yml, fix github CI with non-reusable
bobleesj b63e45d
Add pre-commit - codespell
bobleesj 361906d
Manually install pdffit2 and wxpython diffpy.utils matplotlib
bobleesj cac4752
apply precomit
bobleesj e2f085a
Conda install wxpython
bobleesj 34d5b81
Add news
bobleesj e163696
Set latest python version in matrix CI to 3.12
bobleesj f1c37df
Fix spelling suggested by codespell
bobleesj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,14 @@ | ||
| # codecov can find this file anywhere in the repo, so we don't need to clutter | ||
| # the root folder. | ||
| #comment: false | ||
|
|
||
| codecov: | ||
| notify: | ||
| require_ci_to_pass: no | ||
|
|
||
| coverage: | ||
| status: | ||
| patch: | ||
| project: # more options at https://docs.codecov.com/docs/commit-status | ||
| default: | ||
| target: '70' | ||
| if_no_uploads: error | ||
| if_not_found: success | ||
| if_ci_failed: failure | ||
| project: | ||
| default: false | ||
| library: | ||
| target: auto | ||
| if_no_uploads: error | ||
| if_not_found: success | ||
| if_ci_failed: error | ||
| paths: '!*/tests/.*' | ||
|
|
||
| tests: | ||
| target: 97.9% | ||
| paths: '*/tests/.*' | ||
| if_not_found: success | ||
|
|
||
| flags: | ||
| tests: | ||
| paths: | ||
| - tests/ | ||
| target: auto # use the coverage from the base commit, fail if coverage is lower | ||
| threshold: 0% # allow the coverage to drop by | ||
|
|
||
| comment: | ||
| layout: " diff, flags, files" | ||
| behavior: default | ||
| require_changes: false | ||
| require_base: false # [true :: must have a base report to post] | ||
| require_head: false # [true :: must have a head report to post] | ||
| hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| ;; Please include filenames and explanations for each ignored line. | ||
| ;; See https://docs.openverse.org/meta/codespell.html for docs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| ;; Please include explanations for each ignored word (lowercase). | ||
| ;; See https://docs.openverse.org/meta/codespell.html for docs. | ||
|
|
||
| ;; abbreviation for "materials" often used in a journal title | ||
| mater | ||
|
|
||
| ;; alternative use of socioeconomic | ||
| socio-economic | ||
|
|
||
| ;; Frobenius norm used in np.linalg.norm | ||
| fro | ||
|
|
||
| ;; abbreviation for "structure" | ||
| struc | ||
|
|
||
| ;; method name within JournalPanel class | ||
| onText | ||
|
|
||
| ;; a method name within JournalPanel class | ||
| delt |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Release (GitHub/PyPI) | ||
| name: Release (GitHub/PyPI) and Deploy Docs | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| This directory need to be relativly the same as doc/build/html/manual from | ||
| This directory need to be relatively the same as doc/build/html/manual from | ||
| doc/source/_static/images |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| **Added:** | ||
|
|
||
| * Codecov coverage report in PRs | ||
| * Spelling check with Codespell in pre-commit | ||
|
|
||
| **Changed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Deprecated:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Removed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Fixed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Security:** | ||
|
|
||
| * <news item> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are testing
pdfguiwithpdffit rc, we conda installwxpython,diffpy.utils, andmatplotlib-baseand then we pip install
pdffit2 rcOnce we have pdfgui tested with
pdffit2 rc, we could try to find an approach to use the reusable workflow? @sbillinge