test(mobile/ios): run Swift push tests in CI

Co-authored-by: Tom Brow <tomb@block.xyz>
Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
npub1tquskdu6yc4h8l7xxtceculxw600grekeq0xg2ukqfrwl7vrzg3quz3gmp
2026-07-31 18:01:38 -07:00
parent bb5fcd41e3
commit 9f5c895dda
5 changed files with 46 additions and 25 deletions

View File

@@ -64,6 +64,7 @@ jobs:
- 'scripts/check-file-sizes-core.mjs'
- 'scripts/check-file-sizes-core.test.mjs'
- 'mobile/**'
- 'crates/buzz-push-gateway/tests/vectors/**'
- 'scripts/mobile-release.sh'
- 'scripts/mobile-worktree-overrides.sh'
- 'scripts/mobile-worktree-clean.sh'
@@ -849,6 +850,19 @@ jobs:
- name: Build Android debug APK
run: just mobile-build-android
mobile-swift:
name: Mobile Swift
runs-on: macos-latest
timeout-minutes: 10
needs: [changes]
if: needs.changes.outputs.mobile == 'true'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Build
run: swift build --package-path mobile/ios/BuzzPushKit
- name: Test
run: swift test --package-path mobile/ios/BuzzPushKit
security:
name: Security
runs-on: ubuntu-latest