jonpspri commented on issue #3179: Remove the dependencies when running tests URL: https://github.com/apache/incubator-openwhisk/pull/3179#issuecomment-357069182 Well, to make it all work in what I'm doing with 'incubator-openwhisk-cli', I had to add this stanza to 'settings.gradle'. Maybe we should make this available in 'incubator-openwhisk' as a file to `apply`? I'm on sleep deprivation, so there could be many reasons that NOT a good idea... ``` def owPath = System.getenv("OPENWHISK_HOME") ?: '../incubator-openwhisk' def owDirectory = new File(owPath) if (!owDirectory.exists()) { throw new GradleScriptException( "Environment variable OPENWHISK_HOME must point to a valid OpenWhisk build", null) } [ 'common:scala', 'core:controller', 'core:invoker', 'actionRuntimes:nodejs6Action', 'actionRuntimes:actionProxy', 'actionRuntimes:pythonAction', 'actionRuntimes:python2Action', 'actionRuntimes:javaAction', 'actionRuntimes:swift3.1.1Action', 'sdk:docker', 'tests:dat:blackbox:badaction', 'tests:dat:blackbox:badproxy' ].each() { p -> include p project(':'+p).projectDir = new File(owDirectory, p.replaceAll(':','/')) } include 'tests' ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
