mirror of
https://github.com/imjasonh/krust
synced 2026-07-18 23:16:03 +00:00
ci: make builds and tests always verbose for better debugging
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
5444d76d83
commit
9edb878ca5
2 changed files with 5 additions and 17 deletions
16
Makefile
16
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue