Skip to content

Commit

Permalink
ci(jenkins): don't test on android device for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Feb 4, 2021
1 parent a34e964 commit e530fb6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ properties(buildProperties)
def runDanger = isPR // run Danger.JS if it's a PR by default. (should we also run on origin branches that aren't mainline?)
def publishToS3 = isMainlineBranch // publish zips to S3 if on mainline branch, by default
def testOnDevices = isMainlineBranch // run tests on devices
def testOnAndroidDevices = false // testOnDevices // FIXME: Our android device in CI is gone for now!
def testOnIOSDevices = testOnDevices

// Variables we can change
def nodeVersion = '10.17.0' // NOTE that changing this requires we set up the desired version on jenkins master first!
Expand Down Expand Up @@ -373,9 +375,9 @@ timestamps {
// Run unit tests in parallel for android/iOS
stage('Test') {
parallel(
'android unit tests': androidUnitTests(nodeVersion, npmVersion, testOnDevices),
'iPhone unit tests': iosUnitTests('iphone', nodeVersion, npmVersion, testOnDevices),
'iPad unit tests': iosUnitTests('ipad', nodeVersion, npmVersion, testOnDevices),
'android unit tests': androidUnitTests(nodeVersion, npmVersion, testOnAndroidDevices),
'iPhone unit tests': iosUnitTests('iphone', nodeVersion, npmVersion, testOnIOSDevices),
'iPad unit tests': iosUnitTests('ipad', nodeVersion, npmVersion, testOnIOSDevices),
'macOS unit tests': macosUnitTests(nodeVersion, npmVersion),
'cli unit tests': cliUnitTests(nodeVersion, npmVersion),
failFast: false
Expand Down

0 comments on commit e530fb6

Please sign in to comment.