Skip to content

Commit 3beb1e7

Browse files
ci: minor updates
1 parent f2bbe03 commit 3beb1e7

File tree

5 files changed

+9
-5910
lines changed

5 files changed

+9
-5910
lines changed

.github/workflows/check_benchmark_is_up_to_date.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Install uv
1616
uses: astral-sh/setup-uv@v4
17+
with:
18+
enable-cache: true
1719

1820
- name: Check benchmark is up to date
1921
shell: bash

.github/workflows/documentation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919

2020
- name: Install uv
2121
uses: astral-sh/setup-uv@v4
22+
with:
23+
enable-cache: true
24+
2225
- name: Build and Deploy
2326
if: github.event_name == 'push'
2427
run: uv run mkdocs gh-deploy --force

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add-uv:
66

77
install:
88
@echo "--- 🚀 Installing project ---"
9-
uv sync --extra dev --extra docs --extra tests
9+
uv sync
1010

1111
static-type-check:
1212
@echo "--- 🔍 Running static type check ---"
@@ -61,7 +61,7 @@ run-benchmark:
6161
# additionally this expect that API keys required for specific models are set as env variables
6262

6363
# run benchmark
64-
seb run
64+
uv run seb run
6565

6666
check-benchmark-is-up-to-date:
6767
@echo "--- 🔄 Checking benchmark is up to date ---"

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"radicli>=0.0.25",
2727
"datasets<2.20.0", # will need to update the mteb version (current implementation of MTEB does not pass the "trust_remote_code" argument.
2828
"fsspec<=2023.9.2", # can be removed updated along with the datasets limit when MTEB is updated
29-
29+
"psutil>=7.0.0",
3030
]
3131

3232

@@ -167,6 +167,7 @@ build_command = "python -m pip install build; python -m build"
167167
include-package-data = true
168168

169169
[tool.uv]
170+
default-groups = ["dev", "tests", "docs"]
170171
conflicts = [[{ extra = "sonar" }, { extra = "arctic" }]]
171172
no-build-isolation-package = ["xformers", "flash-attn"]
172173

0 commit comments

Comments
 (0)