Skip to content

Commit 7911afe

Browse files
authored
Merge pull request #27 from stevenhua0320/migration
style: change workflow to public workflow.
2 parents fa9e088 + 7f4ac1e commit 7911afe

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/build-wheel-upload.yml renamed to .github/workflows/build-wheel-release-upload.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ on:
77
- "*" # Trigger on all tags initially, but tag and release privilege are verified in _build-wheel-release-upload.yml
88

99
jobs:
10-
release:
10+
build-release:
1111
uses: scikit-package/release-scripts/.github/workflows/_build-wheel-release-upload.yml@v0
1212
with:
1313
project: diffpy.srxplanar
1414
c_extension: false
15-
maintainer_github_username: sbillinge
16-
15+
maintainer_GITHUB_username: sbillinge
1716
secrets:
1817
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
1918
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

.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+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
tests-on-pr:
9+
uses: scikit-package/release-scripts/.github/workflows/_tests-on-pr.yml@v0
10+
with:
11+
project: diffpy.srxplanar
12+
c_extension: false
13+
headless: false
14+
python_version: "3.13"
15+
secrets:
16+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)