diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index de78f99..127e1ec 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,6 @@ on: - cron: '0 0 * * 0' # https://crontab.guru/every-week env: - GRADLE_OPTS: -Xmx4096m TEST_APP_DEPS: react-native-modal react-native-webview TEST_APP_DEV_DEPS: typescript @babel/preset-env react-shallow-renderer RN_BUNDLE_ARGS: --entry-file index.js --platform android --dev false --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res @@ -97,7 +96,9 @@ jobs: working-directory: rnexample - run: npx --yes check-peer-dependencies --npm --runOnlyOnRootDependencies working-directory: rnexample - - run: ./gradlew assemble + - run: | + echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m" >> gradle.properties + ./gradlew assemble working-directory: rnexample/android - uses: actions/upload-artifact@v4 with: