+ enable parallel execution + exclude perf tests (TODO mark more as such) + uses sbt-dependency-graph plugin + implement dependency tracking for testing of only these + project which could have been affected by a given PR
13 lines
363 B
Scala
13 lines
363 B
Scala
package akka
|
|
|
|
object GitHub {
|
|
|
|
def envTokenOrThrow: String =
|
|
sys.env.getOrElse("PR_VALIDATOR_GH_TOKEN",
|
|
throw new Exception("No PR_VALIDATOR_GH_TOKEN env var provided, unable to reach github!"))
|
|
|
|
def url(v: String): String = {
|
|
val branch = if (v.endsWith("SNAPSHOT")) "master" else "v" + v
|
|
"http://github.com/akka/akka/tree/" + branch
|
|
}
|
|
}
|