From af76f77b810c13cacf356b5461b784655a906c9f Mon Sep 17 00:00:00 2001 From: Dan Notestein Date: Wed, 7 Jan 2026 18:38:59 -0500 Subject: [PATCH] Consolidate test jobs into single serial job Tests are quick (~10s total), no need to spread across multiple runners. --- .gitlab-ci.yml | 40 ++++++++-------------------------------- CLAUDE.md | 12 ++++-------- 2 files changed, 12 insertions(+), 40 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97145af..92a2bce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,38 +37,14 @@ build:emscripten: -G Ninja - echo "=== Build (Emscripten) ===" && time ninja -j$(nproc) -test:variant: +test: stage: test needs: ["build:linux"] script: - - cd build && time ./tests/variant_test --log_level=test_suite - -test:sha: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/sha_test - -test:hmac: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/hmac_test - -test:saturation: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/saturation_test - -test:ecdsa: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/ecdsa_canon_test - -test:ecc: - stage: test - needs: ["build:linux"] - script: - - cd build && time ./tests/ecc_test testpassword /tmp/ecc_interop.dat + - cd build + - echo "=== variant_test ===" && time ./tests/variant_test --log_level=test_suite + - echo "=== sha_test ===" && time ./tests/sha_test + - echo "=== hmac_test ===" && time ./tests/hmac_test + - echo "=== saturation_test ===" && time ./tests/saturation_test + - echo "=== ecdsa_canon_test ===" && time ./tests/ecdsa_canon_test + - echo "=== ecc_test ===" && time ./tests/ecc_test testpassword /tmp/ecc_interop.dat diff --git a/CLAUDE.md b/CLAUDE.md index 25d85c1..aaa303b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -190,16 +190,12 @@ build stage (parallel): ├── build:linux (~1m 15s) - full build, artifacts for tests └── build:emscripten (~20s) - minimal/WASM compilation check -test stage (parallel, after build:linux): -├── test:variant - fc::variant tests (25 cases) -├── test:sha - SHA hash tests -├── test:hmac - HMAC tests -├── test:saturation -├── test:ecdsa - ECDSA canonicalization -└── test:ecc - ECC interoperability +test stage (after build:linux): +└── test (~10s) - runs all tests serially: + variant_test, sha_test, hmac_test, saturation_test, ecdsa_canon_test, ecc_test ``` -**Total pipeline time: ~1m 40s** +**Total pipeline time: ~1m 30s** ### Emscripten/WASM Build -- GitLab