Skip to content

Fix Forcings Engine test compile definition for test_all #1742

Fix Forcings Engine test compile definition for test_all

Fix Forcings Engine test compile definition for test_all #1742

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