From babe45cfb406abed78a01413e0ab5361a3f6c753 Mon Sep 17 00:00:00 2001 From: danceratopz Date: Fri, 19 Jun 2026 08:49:53 +0200 Subject: [PATCH] chore(ci,tooling): speed up json-loader job (#3010) --- .github/workflows/test.yaml | 2 ++ Justfile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index df94030cac..29d4d393ae 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -140,6 +140,8 @@ jobs: with: submodules: recursive - uses: ./.github/actions/setup-uv + with: + python-version: "3.14" - uses: ./.github/actions/setup-env - name: Fill and run json-loader tests run: just json-loader diff --git a/Justfile b/Justfile index 6da3a1eabc..3b25cc77a5 100644 --- a/Justfile +++ b/Justfile @@ -165,15 +165,17 @@ json-loader *args: --cov=ethereum \ --cov-branch \ --cov-report=term \ + --durations=50 \ --cov-fail-under=85 uv run pytest \ -m "not slow" \ - -n auto --maxprocesses 6 --dist=loadfile \ + -n {{ xdist_workers }} --dist=loadfile \ --cov-config=pyproject.toml \ --cov=ethereum \ --cov-branch \ --cov-report=term \ --cov-report "xml:{{ output_dir }}/json-loader/coverage.xml" \ + --durations=50 \ --basetemp="{{ output_dir }}/json-loader/tmp" \ "$@" \ tests/json_loader