Skip to content

Skip assert in job_state E for PBS #4235

Skip assert in job_state E for PBS

Skip assert in job_state E for PBS #4235

name: Test EVEREST Models
# This job checks whether current main of everest-models
# is compatible with the changes. It is not required to pass
# before merging, but breakage should be followed by fix in everest-models
on:
push:
branches:
- main
- 'version-**'
workflow_call:
workflow_dispatch:
permissions:
contents: read
env:
UV_FROZEN: true
OMP_NUM_THREADS: 1
jobs:
test-everest-models:
name: Test everest-models
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.14']
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
filter: tree:0
- name: Install dependencies
uses: ./.github/actions/install_dependencies_qt
with:
os: ubuntu-latest
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
enable-cache: true
prune-cache: false
python-version: ${{ matrix.python-version }}
- name: Install ert
run: |
uv sync
- name: Get everest-models
run: |
git clone https://github.com/equinor/everest-models.git
- name: "Install and test everest-models"
run: |
pushd everest-models
VIRTUAL_ENV=../.venv uv pip install ".[test]"
UV_PROJECT_ENVIRONMENT=../.venv uv run --no-sync pytest -sv --hypothesis-profile ci --run-slow