Skip to content

Commit e60b96b

Browse files
authored
chore: parallelize fixture generation (lambdaclass#330)
## 🗒️ Description / Motivation This PR enables parallel fixture generation in the Makefile, and changes the CI to use auto-parallelization instead of a fixed 2.
1 parent 8e5e9e4 commit e60b96b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
- name: Generate test fixtures
121121
if: steps.cache-fixtures.outputs.cache-hit != 'true'
122122
working-directory: leanSpec
123-
run: uv run fill --fork=Devnet --scheme prod -o fixtures -n 2
123+
run: uv run fill --fork=Devnet --scheme prod -o fixtures -n auto
124124

125125
# Save fixtures even if a later step fails, so a re-run does not
126126
# have to regenerate them. See: https://github.com/actions/cache/tree/main/save#always-save-cache

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ leanSpec:
3232
cd leanSpec && git checkout $(LEAN_SPEC_COMMIT_HASH)
3333

3434
leanSpec/fixtures: leanSpec
35-
cd leanSpec && uv run fill --fork devnet --scheme=prod -o fixtures
35+
cd leanSpec && uv run fill --fork devnet -n auto --scheme=prod -o fixtures
3636

3737
lean-quickstart:
3838
git clone https://github.com/blockblaz/lean-quickstart.git --depth 1 --single-branch

0 commit comments

Comments
 (0)