Skip to content

Commit dbbaf26

Browse files
committed
wip: attempt to fix CI
1 parent b2ff94e commit dbbaf26

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

packages/rn-tester/Podfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ end
2121

2222
prepare_react_native_project!
2323

24-
IN_CI = ENV['CI'] == 'true'
25-
2624
@prefix_path = "../react-native"
2725

2826
linkage = ENV['USE_FRAMEWORKS']

packages/rn-tester/RCTTest/React-RCTTest.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pod::Spec.new do |s|
2626
s.platforms = min_supported_versions
2727
s.compiler_flags = '-Wno-nullability-completeness'
2828
s.source = source
29-
s.source_files = podspec_sources("**/*.{h,m,mm}", "**/*.h")
29+
s.source_files = podspec_sources("**/*.{h,m,mm}", "**/*.{h,m,mm}")
3030
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
3131
s.framework = "XCTest"
3232
s.header_dir = "RCTTest"

scripts/objc-test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ buildForTesting() {
8686
xcodebuild build-for-testing \
8787
-workspace RNTesterPods.xcworkspace \
8888
-scheme RNTester \
89-
-sdk iphonesimulator
89+
-sdk iphonesimulator \
90+
-derivedDataPath "/tmp/RNTesterBuild"
9091
}
9192

9293
runTestsOnly() {
@@ -155,7 +156,7 @@ main() {
155156

156157
# Build and run tests.
157158
RESULT=-1
158-
MAX_RETRY=3
159+
MAX_RETRY=1
159160
for ((i=1; i<=MAX_RETRY; i++))
160161
do
161162
echo "Attempt #$i of running tests..."

0 commit comments

Comments
 (0)