Skip to content

Conversation

@stevenhua0320
Copy link
Contributor

@zmx27 Ready to review

Copy link
Collaborator

@zmx27 zmx27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

P.S. I see that you are repeating some files that you already have on other PRs(ex: #22), such as .isort and .flake8, etc. I'm not completely sure, but I think this is fine for GitHub as these new files you're adding seem to be identical. But in the future, please avoid doing this.

@@ -0,0 +1,18 @@
name: Release (GitHub/PyPI) and Deploy Docs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will probably need Professor Simon to review this file. I know that this package won't get released using the workflow script it's currently calling since this is a private repo, but I'm also not sure what the exact process will be


jobs:
matrix-coverage:
uses: scikit-package/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo will need to call a different workflow file. I think it's something like
_matrix-no-codecov-on-merge-to-main.yml? Please double check.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct @zmx27. Please check in the the diffpy.pdfgetx repo.

c_extension: false
headless: false
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete the Codecov section

@stevenhua0320
Copy link
Contributor Author

@sbillinge Professor Simon, could you help Zhiming and me to figure it out what do we need to do with the workflow for the srxplanargui? Specifically for the build-wheel-release-upload.yml we are not sure what is the exact process would be.

@sbillinge
Copy link
Contributor

@sbillinge Professor Simon, could you help Zhiming and me to figure it out what do we need to do with the workflow for the srxplanargui? Specifically for the build-wheel-release-upload.yml we are not sure what is the exact process would be.

please uses the diffpy.pdfgetx workflows as models. Here, if there are gui tests, we will have to run headless, but otherwise it should follow that one pretty closely for all the workflows.

@stevenhua0320
Copy link
Contributor Author

@zmx27 Could you share the template for workflow for diffpy.pdfgetx as Simon said it is pretty the same?

@zmx27
Copy link
Collaborator

zmx27 commented Oct 7, 2025

@stevenhua0320 separately copying each of the workflow files from pdfgetx will take too long, so I will share the link where you can find them:
https://github.com/diffpy/diffpy.pdfgetx/tree/main/.github/workflows

@stevenhua0320
Copy link
Contributor Author

@zmx27 I could not see it since it is a private repo, and Professor Simon did not give me the access to see it. @sbillinge Is it possible to share the access of pdfgetx so that I could follow its workflow to do edits on srxplanargui?

@sbillinge
Copy link
Contributor

@zmx27 I could not see it since it is a private repo, and Professor Simon did not give me the access to see it. @sbillinge Is it possible to share the access of pdfgetx so that I could follow its workflow to do edits on srxplanargui?

ok, done

@stevenhua0320
Copy link
Contributor Author

stevenhua0320 commented Oct 8, 2025

@zmx27 Request a review when you are free, disregard the CI check for now as pre-commit fix has done in #28

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one fix needed


jobs:
matrix-coverage:
uses: scikit-package/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct @zmx27. Please check in the the diffpy.pdfgetx repo.

@sbillinge
Copy link
Contributor

@stevenhua0320 this also failed pre-commit on CI. Make sure you are running p-c locally on all files, but you will have to merge origin with you local before making edits, and repush to avoid conflicts.

@stevenhua0320
Copy link
Contributor Author

@sbillinge Ready for review as p-c now passed and have edited the workflow.

Copy link
Collaborator

@zmx27 zmx27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stevenhua0320 This looks good, but you also need to adapt the release-github.yml file from the pdfgetx repo. The current build-wheel-release-upload.yml file will be calling that

@@ -0,0 +1,12 @@
name: Deploy Documentation on Release
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this file if we don't plan on having docs built

@stevenhua0320
Copy link
Contributor Author

@zmx27 Ready for another review

@sbillinge sbillinge merged commit 1f3fadf into diffpy:migration Oct 8, 2025
1 check passed
@sbillinge sbillinge deleted the setup-CI-6 branch October 8, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants