Repository navigation
Create a draft release for each version tag and split Build & Test job - #10
Merged
Merged
Conversation
…nto Build and Test jobs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Motivation and Context
Release notes need each change matched to its pull requests on GitHub, but not on the App Store or the website. The App Store What's New text can't carry them, so it can't be the source of the GitHub release anymore. Writing the notes in a draft release instead keeps one text that the App Store and website copy without the pull request numbers.
Versions also need testing in TestFlight before they're tagged, and a tagged build shouldn't reach TestFlight unless its commit passed Build & Test.
The Test job only ran
ContainersCoreTests, so test targets added later would have been skipped. And the shared build template had become an extra layer: Deploy to TestFlight's archive already builds the app, and formatting, lint and tests run on every pull request and onmain.Description
build-for-testing, which compiles the app and every test target in theContainers (macOS)scheme. It saves the build products as an artifact.test-without-buildingwith their.xctestrunfile, so it tests the Build job's binaries and every test target in the scheme.upload-artifactis now v7.0.2 anddownload-artifactv8.0.2.main, that Build & Test passed on its commit and that it matchesMARKETING_VERSION. It then uploads the final build and creates a draft release for the tag, with empty notes.containers-build-template.ymlis removed.AGENTS.mdandCONTRIBUTING.md:Containers (macOS)scheme.Testing
Locally, I ran
build-for-testingandtest-without-buildingon the products after moving them to another folder, with the same excludes and commands as the workflow, and all 132 tests passed. The Build & Test check's API lookup returns the conclusion of the run on a commit. The workflows themselves haven't run on GitHub yet; this pull request runs Build & Test, and the first version tag runs the rest.