Skip to content

run the AudioEngine unit-test job only for same-repo and trusted runs - #236

Merged
mauricecarrier7 merged 1 commit into
mainfrom
ci/no-audioengine-on-forks
Oct 1, 2026
Merged

mauricecarrier7 merged 1 commit into
mainfrom
ci/no-audioengine-on-forks

Conversation

@mauricecarrier7

Copy link
Copy Markdown
Contributor

What

The unit tests job in tests.yml, which downloads Findaway's AudioEngine.xcframework, now runs only for workflow_dispatch, pushes, and pull requests whose head branch is in this repository. On a fork pull request it is skipped, and a small unit tests skipped (fork) job posts a notice so the skip is visible rather than looking like a pass. checks.yml still runs its Python checks for forks.

Why

AudioEngine is licensed. This matches Android's handling of Findaway, which is fetched only in trusted builds; PR builds from forks go without it.

How verified

  • New scripts/tests/test_tests_workflow.py parses tests.yml and asserts that every job fetching from cdn.audioengine.io carries the trusted-run if:, and that the fork notice job exists. With the guard line deleted, the guard test fails (1 failed, 2 passed); restored, pytest scripts/tests/ passes 30/30.
  • checks.yml now installs pyyaml alongside pytest for that test.
  • actionlint reports no findings on both workflows.
  • This PR is same-repo, so unit tests runs here.

Fork pull requests skip the job that downloads Findaway's licensed
AudioEngine.xcframework, and a fork-notice job records the skip. The
Python checks in checks.yml still run for forks.
@mauricecarrier7
mauricecarrier7 merged commit e08ba6c into main Oct 1, 2026
3 checks passed
@mauricecarrier7
mauricecarrier7 deleted the ci/no-audioengine-on-forks branch October 1, 2026 17:53
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.

1 participant