Skip to content

Commit babe45c

Browse files
authored
chore(ci,tooling): speed up json-loader job (ethereum#3010)
1 parent 8e958d6 commit babe45c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ jobs:
140140
with:
141141
submodules: recursive
142142
- uses: ./.github/actions/setup-uv
143+
with:
144+
python-version: "3.14"
143145
- uses: ./.github/actions/setup-env
144146
- name: Fill and run json-loader tests
145147
run: just json-loader

Justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,17 @@ json-loader *args:
165165
--cov=ethereum \
166166
--cov-branch \
167167
--cov-report=term \
168+
--durations=50 \
168169
--cov-fail-under=85
169170
uv run pytest \
170171
-m "not slow" \
171-
-n auto --maxprocesses 6 --dist=loadfile \
172+
-n {{ xdist_workers }} --dist=loadfile \
172173
--cov-config=pyproject.toml \
173174
--cov=ethereum \
174175
--cov-branch \
175176
--cov-report=term \
176177
--cov-report "xml:{{ output_dir }}/json-loader/coverage.xml" \
178+
--durations=50 \
177179
--basetemp="{{ output_dir }}/json-loader/tmp" \
178180
"$@" \
179181
tests/json_loader

0 commit comments

Comments
 (0)