Skip to content

Updating OPM installation docs #30

Updating OPM installation docs

Updating OPM installation docs #30

Workflow file for this run

name: Run pofff
on:
push:
branches:
- main
pull_request:
jobs:
run-pofff-local:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Flow Simulator
run: |
sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:opm/ppa
sudo apt-get update
sudo apt-get install mpi-default-bin
sudo apt-get install libopm-simulators-bin
- name: Install plotting (LaTeX) and ert dependencies
run: |
sudo apt-get install texlive-fonts-recommended texlive-fonts-extra dvipng cm-super
sudo apt-get install freeglut3-dev
- name: Install Python dependecies
run: |
pip install --upgrade pip setuptools wheel
pip install -r dev-requirements.txt
- name: Install pofff
run: |
pip install .
- name: Check code style and linting
run: |
black --target-version py312 --check src/ tests/ publication/
pylint src/ tests/ publication/
mypy --ignore-missing-imports src/ tests/ publication/
- name: Run the tests
run: |
pytest --cov=pofff --exitfirst --cov-report term-missing tests/
- name: Build documentation
run: |
pushd docs
make html