Skip to content
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

Add GitHub actions workflow to test-build pull request branches #316

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bjornoleh
Copy link
Contributor

@bjornoleh bjornoleh commented Jun 17, 2024

The new .github/workflows/PR_test_build.yml workflow checks out the pull request number that is entered as a repository variable.

It is possible to optionally set an alternative bundle ID to not overwrite the TestFlight “production app” that one might be using live.

The checkout action starts with nightscout/Trio dev when setting up the git repository, so that the workflow is independent of any changes in the private fork.

Setup:

Add repository variables:

Mandatory:

  • PR_NUMBER (Pull-request number in the nightscout/Trio repository)

Optional:

  • ALTERNATIVE_BUNDLE_ID (the bundle ID which is associated with the TestFlight app you wish to build to)

Usage:

  • Run the workflow named “Test-build pull request”
  • Wait for the build to complete and be processed at Apple
  • Install/update Trio in the TestFlight app.

Resolves #315

Test-build pull requests with TestFlight.

Usage:
Add repository variables:

Mandatory:
- PR_NUMBER (Pull-request number in the nightscout/Trio repository)

Optional:
- ALTERNATIVE_BUNDLE_ID (the bundle ID which is associated with the TestFlight app you wish to build to)
@bjornoleh bjornoleh self-assigned this Jun 17, 2024
@bjornoleh bjornoleh added the enhancement New feature or request label Jun 17, 2024
@Sjoerd-Bo3 Sjoerd-Bo3 deleted the branch nightscout:dev July 2, 2024 14:00
@Sjoerd-Bo3 Sjoerd-Bo3 closed this Jul 2, 2024
@Sjoerd-Bo3 Sjoerd-Bo3 reopened this Jul 2, 2024
@Sjoerd-Bo3 Sjoerd-Bo3 changed the base branch from alpha to dev July 2, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

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