mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
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:
parent
bb5fcd41e3
commit
9f5c895dda
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user