Skip to content
Snippets Groups Projects

NSHM Unit tests

1 file
+ 1
4
Compare changes
  • Side-by-side
  • Inline
+ 1
4
@@ -208,7 +208,6 @@ Container Registry:
Build Project:
script:
- cat /proc/meminfo
- ./gradlew assemble
stage: build
@@ -240,9 +239,7 @@ NSHM Tests:
- CMD: testConus2023
- CMD: testHawaii2021
script:
- yum install procps -y
- memory="$(free -g | awk '/^Mem:/{print $2}')";
- export CI_RUNNER_MEMORY="$(printf "%.f" "$(echo "${memory} * 0.90" | bc)")g";
- export CI_RUNNER_MEMORY="$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 / 1024 * .90 )}' /proc/meminfo)"
- echo "${CI_RUNNER_MEMORY}"
- ./gradlew ${CMD}
- cat ${JACOCO_HTML_DIR}/index.html
Loading