-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-cookiecut, move tests to root level (#211)
* Move tests dir and use testutils * Commit changes * Add all GH actions yml * Add manifest * Add pyproject.toml * remove devutils * Remove setup.py * Add test version * remove setup * Access datafile not using import module * Confirm requirement files * Confirm readme * Remove nonused path module * Include doc files * [pre-commit.ci] auto fixes from pre-commit hooks * Add entry main point back in pyproject * Rename showphasenotebookpanel.py to test_showphasenotebookpanel.py * Use testutils for datafile * [pre-commit.ci] auto fixes from pre-commit hooks * Add numpy pinning below 2 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
312b2f2
commit fa5b734
Showing
62 changed files
with
223 additions
and
609 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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,12 @@ | ||
name: Check for News | ||
|
||
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
uses: Billingegroup/release-scripts/.github/workflows/_check-news-item.yml@v0 | ||
with: | ||
project: diffpy.pdfgui |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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,21 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: | ||
- prereleased | ||
- published | ||
workflow_dispatch: | ||
|
||
jobs: | ||
coverage: | ||
uses: Billingegroup/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0 | ||
with: | ||
project: diffpy.pdfgui | ||
c_extension: false | ||
headless: true | ||
secrets: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains 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,14 @@ | ||
name: Build and Deploy Docs | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docs: | ||
uses: Billingegroup/release-scripts/.github/workflows/_publish-docs-on-release.yml@v0 | ||
with: | ||
project: diffpy.pdfgui | ||
c_extension: false |
This file contains 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,16 @@ | ||
name: Tests on PR | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
validate: | ||
uses: Billingegroup/release-scripts/.github/workflows/_tests-on-pr.yml@v0 | ||
with: | ||
project: diffpy.pdfgui | ||
c_extension: false | ||
headless: true |
This file contains 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 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 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,21 +1,12 @@ | ||
recursive-include src * | ||
recursive-include doc * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
exclude doc/manual/images/*.pdf | ||
recursive-exclude doc/manual Makefile *.py *.texinfo | ||
recursive-exclude doc/manual *.aux *.cp *.cps *.err *.log *.toc *.vr *.vrs | ||
recursive-include icons *.png *.ico | ||
recursive-exclude icons *.m *.xcf | ||
global-exclude .gitattributes .gitignore .gitarchive.cfg | ||
global-exclude .DS_Store | ||
graft src | ||
graft tests | ||
graft requirements | ||
|
||
include AUTHORS.rst | ||
include LICENSE.rst | ||
include README.rst | ||
include requirements.txt | ||
include AUTHORS.rst LICENSE*.rst README.rst | ||
|
||
include diffpy.pdfgui/_version.py | ||
|
||
# If including data files in the package, add them like: | ||
# include path/to/data_file | ||
# Exclude all bytecode files and __pycache__ directories | ||
global-exclude *.py[cod] # Exclude all .pyc, .pyo, and .pyd files. | ||
global-exclude .DS_Store # Exclude Mac filesystem artifacts. | ||
global-exclude __pycache__ # Exclude Python cache directories. | ||
global-exclude .git* # Exclude git files and directories. | ||
global-exclude .idea # Exclude PyCharm project settings. |
Oops, something went wrong.