nightscout / Trio

MIT License
45 stars 125 forks source link

[Feature request] - Add an easy way to test-build pull request branches with GitHub actions #315

Open bjornoleh opened 2 weeks ago

bjornoleh commented 2 weeks ago

Is your feature request related to a problem? Please describe.

It takes some knowledge to build the code from pull request branches, and typically this will be done from a Mac. Setting up a GitHub actions workflow that enables building feature branches connected to pull requests would lower the bar for participating in testing, and add convenience/remove decency of access to a Mac for for those that would otherwise use that.

Describe the solution you'd like

Set up a dedicated workflow for PR testing, where the user only needs to enter the pull request number as a repository variable. And allow to optionally also set an alternative bundle ID to not overwrite the TestFlight “production app” that one might be using live.

The workflow will use GitHub CLI commands.