Skip to content

Commit

Permalink
Foo bar
Browse files Browse the repository at this point in the history
  • Loading branch information
aaalaniz committed Jun 19, 2024
1 parent cd16d4e commit 340d109
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/actions/setup-lightsaber-ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,10 @@ runs:
iosApp/build/ios/Release-iphonesimulator
- name: Set Xcode version
run: sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
run: |
if command -v xcode-select &> /dev/null; then
sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer
else
echo "xcode-select is not available"
fi
shell: bash
13 changes: 9 additions & 4 deletions .github/workflows/lightsaber-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,17 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-lightsaber-ci

- name: Check for app file
run: test -e ./iosApp/build/ios/Debug-iphonesimulator/Lightsaber.app

- name: List emulators
run: xcrun simctl list devices
run: maestro start-device --platform ios

- name: Install app
run: xcrun simctl install booted iosApp/build/ios/Debug-iphonesimulator/Lightsaber.app

- name: Run Maestro tests
run: maestro test .maestro

# - uses: mobile-dev-inc/[email protected]

# with:
# api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
# app-file: ./iosApp/build/ios/Debug-iphonesimulator/Lightsaber.app
Expand Down

0 comments on commit 340d109

Please sign in to comment.