Skip to content

Commit a3567cc

Browse files
riglarclaude
andcommitted
Use older Wikipedia zip for iOS 16 tests
iOS 16 tests now use wikipedia-pre26.zip from binaries/ directory while other iOS versions continue using app-binary-id for improved compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a622491 commit a3567cc

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.github/workflows/ios-devices-matrix.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
steps:
8383
- uses: actions/checkout@v3
8484

85-
- name: Set Flow File
85+
- name: Set Flow File and App Binary
8686
id: set-flow-file
8787
run: |
8888
if [[ "${{ matrix.device }}" == "iphone-16-pro" || "${{ matrix.device }}" == "iphone-16-pro-max" || "${{ matrix.device }}" == "ipad-pro-6th-gen" ]]; then
@@ -91,7 +91,27 @@ jobs:
9191
echo "flow-file=./flows/ios-flow.yaml" >> $GITHUB_OUTPUT
9292
fi
9393
94-
- name: Run iOS Device Tests
94+
# Use older Wikipedia zip for iOS 16 tests
95+
if [[ "${{ matrix.ios-version }}" == "16" ]]; then
96+
echo "use-zip=true" >> $GITHUB_OUTPUT
97+
else
98+
echo "use-zip=false" >> $GITHUB_OUTPUT
99+
fi
100+
101+
- name: Run iOS Device Tests (iOS 16 with zip)
102+
if: steps.set-flow-file.outputs.use-zip == 'true'
103+
uses: devicecloud-dev/device-cloud-for-maestro@main
104+
with:
105+
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
106+
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
107+
app-file: binaries/wikipedia-pre26.zip
108+
workspace: ${{ steps.set-flow-file.outputs.flow-file }}
109+
ios-device: ${{ matrix.device }}
110+
ios-version: ${{ matrix.ios-version }}
111+
name: "${{ matrix.device }} - iOS ${{ matrix.ios-version }} Test Run"
112+
113+
- name: Run iOS Device Tests (Other versions with app-binary-id)
114+
if: steps.set-flow-file.outputs.use-zip != 'true'
95115
uses: devicecloud-dev/device-cloud-for-maestro@main
96116
with:
97117
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}

binaries/wikipedia-pre26.zip

21.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)