Skip to content
Snippets Groups Projects
Commit 806fa04d authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add hazardcalc test

parent 700901a7
No related branches found
No related tags found
1 merge request!695Resolves - Legacy: Add CI/CD Pipeline
......@@ -4,6 +4,7 @@ variables:
JACOCO_HTML_DIR: ${REPORTS_DIR}/jacoco/test/html
JUNIT_FILES: build/test-results/test*/TEST-*.xml
PRODUCTION_BRANCH: legacy-production
REPORTS_DIR: build/reports
UPSTREAM_PATH: ghsc/nshmp/nshmp-haz
# Do not run for merge requests
......@@ -149,6 +150,9 @@ default:
####
Build Image:
artifacts:
paths:
- build
extends:
- .docker-build
variables:
......@@ -169,6 +173,18 @@ Build Project:
# Stage: test
####
Test HazardCalc:
extends:
- .java
needs: Build Image
script:
- |
java -cp build/libs/nshmp-haz.jar \
gov.usgs.earthquake.nshmp.HazardCalc \
etc/peer/models/Set1-Case1 \
"Test Site, -122.0, 38.0"
stage: test
Unit Tests:
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment