-
Notifications
You must be signed in to change notification settings - Fork 265
ENH: Add more automatic tests #2194
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
base: main
Are you sure you want to change the base?
Conversation
5aba0b7
to
d5ba1d4
Compare
I just removed the requirements to have the Circle tests & I also just updated the associated CircleCI project to "disable" the webhook. |
d5ba1d4
to
9f8dce8
Compare
Move filename checks from bash script executed by CircleCI to Python script executed by GitHub actions for consistency and to be able to run on Windows. Added tests: - check that the extension description file name matches the project name in the CMakeLists.txt file - check that the extension can be git cloned - check that a license file can be found in the extension's repository - check that extension category is in the allowed list - check that the extension icon and screenshot URLs are valid image files Show repository URL, CMakeLists.txt, license file in a report in the pull request. This makes quick review of extension submissions a bit easier.
9f8dce8
to
89ed9f1
Compare
Simplify maintenance by leveraging existing GitHub Actions to streamline the process avoiding the need to use custom scripting.
@lassoan Thanks for working on this 🙏 This will greatly improve the reviewer experience 💯 I added a few tweaks that should hopefully simplify the maintenance. Did you have a chance to test against a fork ? |
Thank you for the updates @jcfr. It seems that you have tried to enable commenting from a fork, but it does not appear to work (see the Extension Validation check failure above. The failing Lint check above is a good example that the json schema check still sometimes fails. It may be easier to just disable it, since the schema is checked in the Extension Validation check anyway. |
Move filename checks from bash script executed by CircleCI to Python script executed by GitHub actions for consistency and to be able to run on Windows. Moved the unstable pre-commit json file schema check to the other extension validation checks.
Added tests:
CMakeLists.txt
fileShow repository URL,
CMakeLists.txt
, license file in a report in the pull request. This makes quick review of extension submissions a bit easier.