-
Notifications
You must be signed in to change notification settings - Fork 16
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
Github workflow to test Galaxy Lab changes #201
base: main
Are you sure you want to change the base?
Conversation
Workflow to link to rendered lab webpages
The GitHub docs indicate that this is possible, but the GITHUB_TOKEN in my workflow run lacks sufficient permissions to post a comment to the PR.
I have tested this out and it now works without the need for a dedicated github token - this is now ready to merge if we can resolve #201 (comment) @bebatut |
When someone makes a PR with changes to a lab, a comment will be posted in the PR providing links to preview the lab page(s) for which changes have been made. This allows both the actor and reviewer to view the rendered webpage before merging. This is especially useful for ensuring there are no fatal errors before merging.
The
github-actions
comment will also test HTTP status for each version of the Lab page, and show the result in the comment. The test is re-run and the comment updated with every push, so you can see if a commit breaks or fixes a Lab page.Test success following changes to spoc Lab:
Test failure following changes to spoc Lab (merging this would break the production spoc Lab):