Skip to content

Commit db834e5

Browse files
committed
Hardcode latest iOS version for tests on CI
1 parent d64ade5 commit db834e5

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/cron-checks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
name: Test E2E UI (Debug)
2020
strategy:
2121
matrix:
22-
ios: [latest]
22+
ios: [16.4]
23+
setup_runtime: [false]
2324
device: ["iPhone SE (3rd generation)", "iPhone 14", "iPhone 14 Pro Max"]
2425
fail-fast: false
2526
runs-on: macos-13
@@ -35,7 +36,7 @@ jobs:
3536
INSTALL_ALLURE: true
3637
INSTALL_XCPARSE: true
3738
- name: Setup iOS ${{ matrix.ios }} Runtime
38-
if: ${{ matrix.ios != 'latest' }}
39+
if: ${{ matrix.setup_runtime }}
3940
run: sudo xcodes runtimes install 'iOS ${{ matrix.ios }}'
4041
- name: Launch Allure TestOps
4142
run: bundle exec fastlane allure_launch cron:true

Gemfile.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ GEM
189189
fastlane
190190
pry
191191
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
192-
fastlane-plugin-stream_actions (0.3.7)
192+
fastlane-plugin-stream_actions (0.3.18)
193+
xctest_list (= 1.2.1)
193194
fastlane-plugin-versioning (0.5.1)
194195
ffi (1.15.5)
195196
fourflusher (2.3.1)
@@ -407,7 +408,7 @@ DEPENDENCIES
407408
fastlane-plugin-emerge
408409
fastlane-plugin-lizard
409410
fastlane-plugin-sonarcloud_metric_kit
410-
fastlane-plugin-stream_actions (= 0.3.7)
411+
fastlane-plugin-stream_actions (= 0.3.18)
411412
fastlane-plugin-versioning
412413
jazzy
413414
json

fastlane/Fastfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ lane :test_e2e_mock do |options|
104104

105105
start_sinatra
106106

107-
device = options[:ios] && options[:ios] != 'latest' ? "#{options[:device]} (#{options[:ios]})" : options[:device]
108-
prepare_simulator(device: device, reset: true) if is_ci
107+
device = options[:ios] ? "#{options[:device]} (#{options[:ios]})" : options[:device]
108+
prepare_simulator(device: device) if is_ci
109109

110110
scan_options = {
111111
project: xcode_project,

fastlane/Pluginfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
gem 'fastlane-plugin-versioning'
66
gem 'fastlane-plugin-emerge'
77
gem 'fastlane-plugin-sonarcloud_metric_kit'
8-
gem 'fastlane-plugin-stream_actions', '0.3.7'
8+
gem 'fastlane-plugin-stream_actions', '0.3.18'

0 commit comments

Comments
 (0)