Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: added iOS 17 job #2591

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,32 @@ jobs:
command: swift build -c release --target ReceiptParser
no_output_timeout: 30m

run-test-ios-17:
<<: *base-job
steps:
- checkout
- install-dependencies
- run:
name: Run tests
command: bundle exec fastlane test_ios
no_output_timeout: 5m
environment:
SCAN_DEVICE: iPhone 14 (17.0)
- compress_result_bundle:
directory: fastlane/test_output/xctest/ios
bundle_name: RevenueCat
- when:
condition: << pipeline.parameters.generate_snapshots >>
steps:
- run:
name: Run create_snapshot_pr
command: bundle exec fastlane create_snapshot_pr version:"ios-17"
- store_test_results:
path: fastlane/test_output
- store_artifacts:
path: fastlane/test_output/xctest
destination: scan-test-output
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we extract this to be a command? Seems like it's almost repeated (with some small differences) for the other iOS versions... We can do that in a different PR though


run-test-ios-16:
<<: *base-job
steps:
Expand Down Expand Up @@ -821,6 +847,8 @@ workflows:
generate-snapshot:
when: << pipeline.parameters.generate_snapshots >>
jobs:
- run-test-ios-17:
xcode_version: '15.0.0'
- run-test-ios-16:
xcode_version: '14.3.0'
- run-test-ios-15:
Expand Down Expand Up @@ -849,6 +877,8 @@ workflows:
xcode_version: '14.3.0'
- spm-receipt-parser:
xcode_version: '14.3.0'
- run-test-ios-17:
xcode_version: '15.0.0'
- run-test-ios-16:
xcode_version: '14.3.0'
- run-test-ios-15:
Expand Down