-
Notifications
You must be signed in to change notification settings - Fork 109
48 lines (40 loc) · 1.15 KB
/
test_everest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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]
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: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install ert
run: |
pip install .
- name: Install everest and dependencies
run: |
git clone https://github.com/equinor/everest.git
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
pip install ".[test]"
pytest tests -n 4 --dist loadgroup -m "not ui_test"
pytest tests -m "ui_test"