Skip to content

Commit

Permalink
WIP: Add everest integration test with flow
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Dec 20, 2024
1 parent fde4fee commit a8ce475
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 33 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test_ert_with_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Install ert
- name: Install ert and everest
run:
uv pip install ".[dev]"
uv pip install ".[everest,dev]"
uv pip install git+https://github.com/equinor/everest-models

- name: Install flow
run: |
Expand All @@ -47,6 +48,14 @@ jobs:
set -e
pytest tests/ert/unit_tests/resources/test_run_flow_simulator.py
cd test-data/ert/flow_example
push test-data/ert/flow_example
perl -p -i -e 's/NUM_REALIZATIONS\s*12/NUM_REALIZATIONS 2/g' flow.ert
ert ensemble_experiment flow.ert --disable-monitor
popd
- name: Run everest integration test with OPM flow
run: |
set -e
pushd test-data/everest/egg/everest/model
everest run config_flow.yml
popd
7 changes: 1 addition & 6 deletions test-data/everest/egg/everest/model/config_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ simulator:
queue_system: local
cores: 3

install_jobs:
-
name: myflow
source: r{{ configpath }}/jobs/flow

install_data:
-
source: r{{ configpath }}/../../eclipse/include/realizations/realization-r{{ realization }}/eclipse
Expand All @@ -116,5 +111,5 @@ forward_model:
- well_constraints -i files/well_readydate.json -c files/wc_config.yml -rc well_rate.json -o wc_wells.json
- add_templates -i wc_wells.json -c files/at_config.yml -o at_wells.json
- schmerge -s eclipse/include/schedule/schedule.tmpl -i at_wells.json -o eclipse/include/schedule/schedule.sch
- myflow r{{ eclbase }} --enable-tuning
- flow r{{ eclbase }} --enable-tuning
- rf -s r{{ eclbase }} -o rf
6 changes: 0 additions & 6 deletions test-data/everest/egg/everest/model/jobs/flow

This file was deleted.

18 changes: 0 additions & 18 deletions test-data/everest/egg/everest/model/jobs/flow.py

This file was deleted.

0 comments on commit a8ce475

Please sign in to comment.