Skip to content

Commit

Permalink
Fix Pipelines
Browse files Browse the repository at this point in the history
There seems to be a problem with the android-emulator-runner action.  Using the workaround posted in this issue:
ReactiveCircus/android-emulator-runner#168

The linting pipeline is running ubuntu-latest, which does not have cocoa pods.  One of the lerna dependencies (realm-react-native-tests) was invoking `pod install`.  Changed this to use the npm package `pod-install` which will not crash on non-mac systems.
  • Loading branch information
takameyer committed Jul 17, 2021
1 parent 900aad4 commit 4beda94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
target: google_apis
script: npm run test:android --prefix integration-tests/environments/react-native
env:
MOCHA_REMOTE_CONTEXT: missingServer
Expand All @@ -247,6 +248,7 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
target: google_apis
script: npm run test:android:chrome --prefix integration-tests/environments/react-native
env:
MOCHA_REMOTE_CONTEXT: missingServer
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/environments/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"runner": "node harness/runner.js",
"prepare": "npm run install-local && npm run pod-install",
"install-local": "npm_config_ignore_scripts=true install-local",
"pod-install": "cd ios && pod install"
"pod-install": "npx pod-install"
},
"dependencies": {
"@react-native-community/art": "^1.2.0",
Expand Down

0 comments on commit 4beda94

Please sign in to comment.