Skip to content

Commit 6eda0f5

Browse files
authored
Merge branch 'facebook:main' into main
2 parents f4017bd + 874881e commit 6eda0f5

File tree

2,507 files changed

+93656
-49095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,507 files changed

+93656
-49095
lines changed

.buckconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@
1515

1616
[alias]
1717
rntester = //packages/rn-tester/android/app:app
18+
19+
[buildfile]
20+
includes = //tools/build_defs/oss/preload.bzl

.circleci/Dockerfiles/Dockerfile.android

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@
1414
# and build a Android application that can be used to run the
1515
# tests specified in the scripts/ directory.
1616
#
17-
FROM reactnativecommunity/react-native-android:5.4
17+
FROM reactnativecommunity/react-native-android:6.1
1818

1919
LABEL Description="React Native Android Test Image"
2020
LABEL maintainer="Héctor Ramos <[email protected]>"
2121

2222
# set default environment variables
2323
ENV GRADLE_OPTS="-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=\"-Xmx512m -XX:+HeapDumpOnOutOfMemoryError\""
24-
ENV JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
2524
ENV KOTLIN_HOME="third-party/kotlin"
2625

2726
ADD .buckconfig /app/.buckconfig

.circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/a
3333

3434
# build test APK
3535
# shellcheck disable=SC1091
36-
source ./scripts/android-setup.sh && NO_BUCKD=1 retry3 buck install ReactAndroid/src/androidTest/buck-runner:instrumentation-tests --config build.threads=1
36+
source ./scripts/android-setup.sh && NO_BUCKD=1 scripts/retry3 buck install ReactAndroid/src/androidTest/buck-runner:instrumentation-tests --config build.threads=1
3737

3838
# run installed apk with tests
3939
node ./.circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js "$*"

0 commit comments

Comments
 (0)