Skip to content

Commit

Permalink
Disable debug tests until builds are optimized.
Browse files Browse the repository at this point in the history
  • Loading branch information
takameyer committed Jun 17, 2021
1 parent fbf3d1d commit 021806e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 021806e

Please sign in to comment.