Skip to content
Snippets Groups Projects

NSHM Unit tests

Compare and Show latest version
1 file
+ 3
6
Compare changes
  • Side-by-side
  • Inline
+ 3
6
@@ -208,7 +208,6 @@ Container Registry:
Build Project:
script:
- cat /proc/meminfo
- ./gradlew assemble
stage: build
@@ -240,11 +239,9 @@ 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";
- echo "${CI_RUNNER_MEMORY}"
- ./gradlew ${CMD}
- CI_RUNNER_MEMORY="$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 / 1024 * .90 )}' /proc/meminfo)g"
- export CI_RUNNER_MEMORY
- ./gradlew ${CMD} --info
- cat ${JACOCO_HTML_DIR}/index.html
stage: test
Loading