Skip to content

Commit

Permalink
fix: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Nov 30, 2023
1 parent a4e14d3 commit 907da22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .detoxrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const reversePorts = [80, 8080, 9735, 10009, 28334, 28335, 28336, 39388, 43782, 60001];

/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
$0: 'jest',
Expand All @@ -24,12 +27,14 @@ module.exports = {
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
build:
'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd .. ',
reversePorts,
},
'android.release': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/release/app-release.apk',
build:
'cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..',
reversePorts,
},
},
devices: {
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,6 @@ jobs:
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
arch: x86_64
script: |
adb root
adb reverse tcp:80 tcp:80
adb reverse tcp:8080 tcp:8080
adb reverse tcp:9735 tcp:9735
adb reverse tcp:10009 tcp:10009
adb reverse tcp:28334 tcp:28334
adb reverse tcp:28335 tcp:28335
adb reverse tcp:28336 tcp:28336
adb reverse tcp:39388 tcp:39388
adb reverse tcp:43782 tcp:43782
adb reverse tcp:60001 tcp:60001
yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || \
yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || \
yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || \
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@
"react-native-mmkv-flipper-plugin": "^1.0.0",
"react-native-skia-stub": "0.0.1",
"react-native-svg-transformer": "^1.1.0",
"react-native-skia-stub": "github:limpbrains/react-native-skia-stub#e9ddba50e5ad909030a8e375e5eb90361cd08cd7",
"redux-flipper": "^2.0.2",
"rimraf": "^5.0.5",
"rn-nodeify": "^10.3.0",
Expand Down

0 comments on commit 907da22

Please sign in to comment.