Bump to 2026.10-pre #82
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 expreccs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| run-expreccs-local: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| timeout-minutes: 60 | |
| 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) dependencies | |
| run: | | |
| sudo apt-get install texlive-fonts-recommended texlive-fonts-extra dvipng cm-super | |
| - name: Install dependecies | |
| run: | | |
| pip install --upgrade pip setuptools wheel | |
| pip install -r dev-requirements.txt | |
| - name: Install expreccs | |
| run: | | |
| pip install . | |
| - name: Check code style and linting | |
| run: | | |
| black --target-version py312 src/ tests/ examples/ --check | |
| pylint src/ tests/ examples/ | |
| ruff check src/ tests/ examples/ | |
| mypy --ignore-missing-imports src/ tests/ examples/ | |
| - name: Run the tests | |
| run: | | |
| pytest --cov=expreccs --cov-report term-missing --basetemp=test_outputs --exitfirst tests/ | |
| - name: Build documentation | |
| run: | | |
| pushd docs | |
| make html |