Skip to content
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
test-ert-with-flow:
name: Run ert tests
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
id: setup_python
with:
python-version: ${{ inputs.python-version }}
run: |
pip install ".[dev]"
- name: Install flow
run: |
sudo apt install software-properties-common
sudo apt-add-repository ppa:opm/ppa
sudo apt update
sudo apt install mpi-default-bin
sudo apt install libopm-simulators-bin python3-opm-common
- name: Run integration tests towards OPM flow without flowrun
run: |
set -e
pytest tests/ert/unit_tests/resources/test_run_flow_simulator.py