Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Dec 16, 2024
1 parent 5411a46 commit e2088b5
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
env:
ERT_SHOW_BACKTRACE: 1
ECL_SKIP_SIGNAL: 1
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

jobs:
benchmark:
Expand All @@ -35,6 +35,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: "3.11"

- name: Install ert with dev-deps
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
ERT_SHOW_BACKTRACE: 1
ECL_SKIP_SIGNAL: 1
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -166,6 +166,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install ert
run: |
Expand All @@ -180,7 +182,7 @@ jobs:
- name: Test docs
run: |
sphinx-build -n -v -E -W ./docs/ert ./tmp/ert_docs
uv run sphinx-build -n -v -E -W ./docs/ert ./tmp/ert_docs
publish:
name: Publish to PyPI
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -25,6 +25,8 @@ jobs:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: '3.12'
- run: |
uv sync --extra dev --extra everest
uv pip uninstall pytest-benchmark
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/run_ert_test_data_setups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

env:
ERT_SHOW_BACKTRACE: 1
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

jobs:
run-ert-test-data:
Expand Down Expand Up @@ -44,6 +44,8 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install ERT and dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:

env:
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -34,6 +34,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install ERT with style dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_ert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
ERT_SHOW_BACKTRACE: 1
ECL_SKIP_SIGNAL: 1
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

jobs:
tests-ert:
Expand All @@ -32,6 +32,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ inputs.python-version }}

- name: Install ert
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_ert_with_slurm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
type: string

env:
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

jobs:
test-ert-on-slurm:
Expand All @@ -25,6 +25,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ inputs.python-version }}

- name: Install ert
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_everest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
NO_PROJECT_RES: 1
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

jobs:
tests-everest:
Expand All @@ -32,6 +32,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ inputs.python-version }}

- name: Install Everest and dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_semeio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Test Semeio
on: [pull_request]

env:
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -35,6 +35,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install ert
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:

env:
UV_SYSTEM_PYTHON: 1
UV_FROZEN: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -34,6 +34,8 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install ERT and dependencies
run: |
Expand Down

0 comments on commit e2088b5

Please sign in to comment.