Testing and Documenting Building, Running, Forcing, Hydrofabric, Initial Input Data and Realization Config on CONUS #1785
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Run NGEN on example data | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
Build_and_Run_Model: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Build the NGEN image | |
run: docker build --file ./docker/ngen.dockerfile --tag localbuild/ngen:latest . | |
- name: Run the NGEN model on example data | |
run: | | |
docker run --rm -i --mount type=bind,source="$(pwd)"/data,target=/ngen_build/data,readonly \ | |
localbuild/ngen:latest \ | |
./ngen data/catchment_data.geojson '' data/nexus_data.geojson '' data/example_realization_config.json |