Skip to content

Commit fa5b734

Browse files
Sangjoon Bob Leepre-commit-ci[bot]
andauthored
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>
1 parent 312b2f2 commit fa5b734

Some content is hidden

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

62 files changed

+223
-609
lines changed

.gitarchive.cfg

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 12 additions & 0 deletions
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.pdfgui

.github/workflows/codecov.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/docs.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
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.pdfgui
18+
c_extension: false
19+
headless: true
20+
secrets:
21+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/matrix.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
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.pdfgui
14+
c_extension: false

.github/workflows/tests-on-pr.yml

Lines changed: 16 additions & 0 deletions
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.pdfgui
15+
c_extension: false
16+
headless: true

0 commit comments

Comments
 (0)