Skip to content

Conversation

@philprime
Copy link
Member

@philprime philprime commented Dec 26, 2025

This pull request improves the reliability of CI test runs for Apple platforms by ensuring that the required simulator runtimes are loaded before tests are executed. It introduces a new script to check and reload simulator runtimes as needed and updates the workflow matrix to specify platforms explicitly.

CI Reliability Improvements:

  • Added a new script, scripts/ci-ensure-runtime-loaded.sh, which checks if the required simulator runtime (e.g., iOS, tvOS, visionOS) for a specified OS version is loaded, attempts to reload it if not, and waits for it to become available. This helps prevent simulator-related test failures.
  • Updated the GitHub Actions workflow (.github/workflows/tests.yml) to call the new script before running tests for each Apple platform, ensuring the correct simulator runtime is available.

Workflow Matrix Enhancements:

  • Added a platform field to each Apple platform entry in the test matrix (ios, tvos, watchos, visionos) to facilitate passing the correct platform to the new script. [1] [2]

@philprime philprime enabled auto-merge (squash) December 26, 2025 11:35
@philprime philprime merged commit 790789a into main Dec 26, 2025
10 checks passed
@philprime philprime deleted the sim-preparation branch December 26, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants