Skip to content

ci(admob): run revenuecat-admob-tests on every PR push#6850

Merged
polmiro merged 1 commit into
mainfrom
auto-merge-admob-ci-check
May 27, 2026
Merged

ci(admob): run revenuecat-admob-tests on every PR push#6850
polmiro merged 1 commit into
mainfrom
auto-merge-admob-ci-check

Conversation

@polmiro

@polmiro polmiro commented May 27, 2026

Copy link
Copy Markdown
Member

Summary

  • Moves revenuecat-admob-tests out of the approve-full-tests gate in the run-all-tests workflow
  • The job now runs automatically on every PR push alongside the other ungated jobs
  • The release-or-main workflow is unchanged (it was already ungated there)

Follow-up required (admin access needed)

Add ci/circleci: revenuecat-admob-tests as a required status check for main. Run this once the PR merges and a passing CircleCI build has reported the new context:

# Fetch current contexts
CURRENT=$(gh api repos/RevenueCat/purchases-ios/branches/main --jq '.protection.required_status_checks.contexts | @json')
# Append the new check and update
gh api repos/RevenueCat/purchases-ios/branches/main/protection/required_status_checks \
  --method PATCH \
  --field "strict=false" \
  --field "contexts=$(echo $CURRENT | python3 -c 'import sys,json; c=json.load(sys.stdin); c.append("ci/circleci: revenuecat-admob-tests"); print(json.dumps(c))')"

Or add it through the GitHub UI: Settings → Branches → main → Edit → Require status checks → search for revenuecat-admob-tests.

Test plan

  • CircleCI runs revenuecat-admob-tests automatically on this PR without needing to approve the gate

Note

Low Risk
CI workflow-only change; no application code, with slightly more macOS CI usage per PR push.

Overview
In the run-all-tests CircleCI workflow, revenuecat-admob-tests is now part of the reduced test suite that runs on every PR push (with slack-secrets), instead of sitting behind approve-full-tests.

The job is removed from the gated full-suite block (no more requires: approve-full-tests). all-tasks-passed still depends on revenuecat-admob-tests, so merge gating can treat it as required once GitHub branch protection lists the CircleCI status check.

Follow-up outside this diff: add ci/circleci: revenuecat-admob-tests as a required check on main after a green build reports that context.

Reviewed by Cursor Bugbot for commit 6eb1388. Bugbot is set up for automated code reviews on this repo. Configure here.

Move the job out of the approve-full-tests gate in run-all-tests so it
executes automatically on each push rather than waiting for manual approval.
@polmiro polmiro requested a review from a team as a code owner May 27, 2026 09:02
@polmiro polmiro enabled auto-merge (squash) May 27, 2026 09:06
@polmiro polmiro requested a review from ajpallares May 27, 2026 09:08
@polmiro polmiro merged commit 97feaac into main May 27, 2026
18 of 21 checks passed
@polmiro polmiro deleted the auto-merge-admob-ci-check branch May 27, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants