From 9edb878ca54a08a5ad2d1b4b74791093306c1507 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Sun, 8 Jun 2025 20:06:14 -0400 Subject: [PATCH] ci: make builds and tests always verbose for better debugging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update Makefile to use --verbose flag by default for build and test targets - Simplify CI workflow to use standard make targets instead of verbose variants - Improve debugging visibility in CI by showing detailed cargo output 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/ci.yml | 6 +++--- Makefile | 16 ++-------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bee28f3..81ba722 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,9 +44,9 @@ jobs: key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} - run: make verify-cross-compile - - run: make build-verbose - - run: make test-verbose - - run: make test-e2e-verbose + - run: make build + - run: make test + - run: make test-e2e - run: make run-built-image fmt: diff --git a/Makefile b/Makefile index 32abc4e..fde86b5 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,6 @@ TEST_FLAGS := -- --test-threads=1 # Build the project build: - cargo build - -# Build verbosely -build-verbose: cargo build --verbose # Setup cargo config for cross-compilation @@ -56,21 +52,13 @@ run: # Run all tests test: test-unit test-e2e -# Run all tests verbosely (for CI) -test-verbose: - cargo test --verbose $(TEST_FLAGS) - # Run unit tests only test-unit: - cargo test --lib --bins $(TEST_FLAGS) + cargo test --verbose --lib --bins $(TEST_FLAGS) # Run e2e tests only test-e2e: - cargo test --test '*' $(TEST_FLAGS) - -# Run e2e tests verbosely (for CI) -test-e2e-verbose: - cargo test --test '*' --verbose $(TEST_FLAGS) + cargo test --verbose --test '*' $(TEST_FLAGS) # Clean build artifacts clean: