Backport logging fix #3766
Workflow file for this run
This file contains 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: Test everest | |
# This job checks whether current main of everest | |
# is compatible with the changes. It is not required to pass | |
# before merging, but breakage should be followed by fix in everest | |
# after merge. | |
on: [pull_request] | |
env: | |
UV_SYSTEM_PYTHON: 1 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test-everest: | |
name: Test everest | |
timeout-minutes: 40 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv | |
run: pip install uv | |
- name: Install ert | |
run: | | |
uv pip install . | |
- name: Install everest and dependencies | |
run: | | |
git clone https://github.com/equinor/everest.git | |
uv pip install git+https://github.com/equinor/everest-models.git | |
- name: Test everest | |
env: | |
QT_QPA_PLATFORM: 'minimal' | |
NO_PROJECT_RES: 1 | |
run: | | |
pushd everest | |
uv pip install ".[test]" | |
pytest tests -n 4 --dist loadgroup -m "not ui_test" | |
pytest tests -m "ui_test" |