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

Update detox-tests.yml #63

Merged
merged 8 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions .github/workflows/detox-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
ios-tests:
runs-on: macos-latest
runs-on: macos-15

env:
NODE_OPTIONS: "--max-old-space-size=4096"
Expand All @@ -26,15 +26,16 @@ jobs:
brew tap wix/brew
brew install applesimutils

- name: Clean Derived Data
- name: Clean Derived Data and CocoaPods cache
run: |
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/CocoaPods

- name: Install Dependencies
run: |
rm -rf node_modules && npm install
cd example && rm -rf node_modules && npm install
cd ios && rm -rf Pods && pod cache clean --all && pod install && cd ..
cd ios && rm -rf Pods && rm -rf Podfile.lock && pod cache clean --all && pod install && cd ..

- name: Run Detox iOS Tests
working-directory: example
Expand All @@ -44,6 +45,7 @@ jobs:
shell: bash

android-tests:
needs: ios-tests
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"react": "18.2.0",
"react-native": "0.71.10"
"react-native": "0.72.9"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand All @@ -23,6 +23,7 @@
"jest": "^29.7.0",
"metro-react-native-babel-preset": "0.73.9",
"react-native-dotenv": "^3.4.11",
"react-native-gradle-plugin": "0.71.19",
"ts-jest": "^29.2.5"
}
}
Loading