Adding missing counters #63
Workflow file for this run
This file contains hidden or 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: Run pofff | |
| on: | |
| pull_request: | |
| jobs: | |
| run-pofff-local: | |
| permissions: | |
| contents: read | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install Flow Simulator | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install software-properties-common mpi-default-bin | |
| sudo apt-add-repository ppa:opm/ppa | |
| sudo apt-get update | |
| sudo apt-get install libopm-simulators-bin | |
| - name: Install (optional but recommended) 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 libegl1 | |
| - name: Install pofff and python requirements | |
| run: | | |
| python3.14 -m venv vpofff | |
| . vpofff/bin/activate | |
| echo "$PWD/vpofff/bin" >> $GITHUB_PATH | |
| pip install --upgrade pip setuptools wheel | |
| pip install . | |
| pip install -r dev-requirements.txt | |
| - name: Check code style and linting | |
| run: | | |
| black --target-version py314 src/ tests/ publication/ --check | |
| pylint src/ tests/ publication/ | |
| ruff check src/ tests/ publication/ | |
| mypy --ignore-missing-imports src/ tests/ publication/ | |
| - name: Run the tests | |
| run: | | |
| pytest --cov=pofff --cov-report term-missing --basetemp=test_outputs tests/ --exitfirst | |
| - name: Build documentation | |
| run: | | |
| pushd docs | |
| make html SPHINXOPTS="-W" |