Small POSIX fix #14
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: Ubuntu | |
| on: | |
| pull_request: | |
| jobs: | |
| run-pyopmspe11-ubuntu: | |
| 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 | |
| sudo apt-add-repository ppa:opm/ppa | |
| sudo apt-get update | |
| sudo apt-get install mpi-default-bin libopm-simulators-bin texlive-fonts-recommended texlive-fonts-extra dvipng cm-super | |
| - name: Install pyopmspe11 and python requirements | |
| run: | | |
| python3.14 -m venv vpyopmspe11 | |
| . vpyopmspe11/bin/activate | |
| echo "$PWD/vpyopmspe11/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/ convergence/ --check | |
| pylint src/ tests/ convergence/ | |
| ruff check src/ tests/ convergence/ | |
| mypy --ignore-missing-imports src/ tests/ convergence/ | |
| - name: Run the tests | |
| run: | | |
| pytest --cov=pyopmspe11 --cov-report term-missing --basetemp=test_outputs tests/ --exitfirst | |
| - name: Build documentation | |
| run: | | |
| pushd docs | |
| make html SPHINXOPTS="-W" |