From 06561e2a110120cb3fe3531a34f04930d248ce60 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Tue, 6 Jun 2023 15:24:43 -0700 Subject: [PATCH] `CI`: added `iOS 17` job Note that this is still not ready in `CircleCI`. --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9bd26e2069..0f45b467b3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 + run-test-ios-16: <<: *base-job steps: @@ -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: @@ -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: