diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index dea596e5e5..1f4e3b4114 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -24,7 +24,9 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] node: [12, 14] - type: [release, debug] + #TODO: Reactivate debug when builds are optimized + #type: [release, debug] + type: [release] steps: - uses: actions/checkout@v2 with: @@ -92,7 +94,9 @@ jobs: strategy: fail-fast: false matrix: - type: [Release, Debug] + #TODO: Reactivate debug when builds are optimized + #type: [Release, Debug] + type: [Release] steps: - uses: actions/checkout@v2 with: @@ -144,7 +148,7 @@ jobs: - run: npm ci # Build the iOS xcframework (if cache missed) - run: ./scripts/build-ios.sh -c ${{ matrix.type }} -s - if: ${{ steps.cache-xcframework.outputs.cache-hit != 'true' }} + if: ${{ steps.cache-xcframework.outputs.cache-hit != 'true' }} # Bootstrap lerna sub-packages (builds the packages, the Realm JS native module and pod install) - run: npx lerna bootstrap --scope '{realm-integration-tests,realm-react-native-tests}' --include-dependencies # Run the tests @@ -168,7 +172,9 @@ jobs: strategy: fail-fast: false matrix: - type: [Release, Debug] + #TODO: Reactivate debug when builds are optimized + #type: [Release, Debug] + type: [Release] steps: - uses: actions/checkout@v2 with: @@ -209,10 +215,10 @@ jobs: key: android-so-${{ hashFiles('src/**', 'react-native/android/**', 'vendor/**') }} - run: npm ci - if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }} + if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }} # Build the Android shared object file (if cache missed) - run: ANDROID_NDK=$ANDROID_NDK_HOME node scripts/build-android.js --arch=x86 --build-type=${{ matrix.type }} - if: ${{ steps.cache-android-so.outputs.cache-hit != 'true' }} + if: ${{ steps.cache-android-so.outputs.cache-hit != 'true' }} # Bootstrap lerna sub-packages (builds the packages, the Realm JS native module and pod install) - run: npx lerna bootstrap --scope '{realm-integration-tests,realm-react-native-tests}' --include-dependencies # Run the tests @@ -237,4 +243,4 @@ jobs: MOCHA_REMOTE_REPORTER: mocha-github-actions-reporter MOCHA_REMOTE_EXIT_ON_ERROR: true HEADLESS_DEBUGGER: true - SPAWN_LOGCAT: true + SPAWN_LOGCAT: true \ No newline at end of file