Testing PR IRL
#6364
Replies: 1 comment 6 replies
-
Currently the build artifacts are uploaded to the PR, so in theory, one could use those, but it's not very practical. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I fixed an issue in
maplibre-gl-js
, tested with unit tests, render tests, local deployment etc. Despite all that my fix introduced a regression bug that was discovered after my PR was merged and the new version ofmaplibre-gl-js
released. There is a good chance that this regression bug would be caught and fixed prior to release if we had an easy way of testing PR by the person reporting the issue.Currently testing a PR requires setting up development environment which is not a trivial ask.
If a bundle with an unmerged PR published automatically, it could be used by the person reporting the issue instead of
maplibre-gl-js
unpkg
url thus providing possibility for additional testing prior to merging the PR. Also it would be easier to verify that the PR works if the issue has ajsbin
.One possibility is a
github
workflow that builds a minified bundle for every PR that graduates from draft and publishes it togh-pages
.Is there a better way to do it?
Beta Was this translation helpful? Give feedback.
All reactions