Skip to content
Snippets Groups Projects

NSHM Unit tests

Compare and
4 files
+ 85
16
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 18
6
@@ -13,6 +13,8 @@ import org.yaml.snakeyaml.Yaml
ext {
nshmDir = "nshms";
envMemory = System.getenv("CI_RUNNER_MEMORY")
xmx = envMemory ? envMemory : "16g"
// Download and unzip NSHM
downloadNshm = {nshm ->
@@ -89,10 +91,12 @@ task testAlaska2007(type: Test) {
exceptionFormat "full"
}
systemProperties(System.getProperties())
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx8g",
"-Xmx${xmx}",
)
filter {
@@ -113,10 +117,12 @@ task testAlaska2023(type: Test) {
exceptionFormat "full"
}
systemProperties(System.getProperties())
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx8g",
"-Xmx${xmx}",
)
filter {
@@ -137,10 +143,12 @@ task testConus2018(type: Test) {
exceptionFormat "full"
}
systemProperties(System.getProperties())
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx8g",
"-Xms${xmx}",
"-Xmx${xmx}",
)
filter {
@@ -161,10 +169,12 @@ task testConus2023(type: Test) {
exceptionFormat "full"
}
systemProperties(System.getProperties())
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx16g",
"-Xmx${xmx}",
)
filter {
@@ -185,10 +195,12 @@ task testHawaii2021(type: Test) {
exceptionFormat "full"
}
systemProperties(System.getProperties())
useJUnitPlatform()
jvmArgs(
"-Xms2g",
"-Xmx8g",
"-Xmx${xmx}",
)
filter {
Loading