Skip to content

Commit afb3e84

Browse files
committed
Make release gate workspace aware
1 parent 1367ad5 commit afb3e84

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

crates/fluxheim-config/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ pub mod internal_crypto;
3333
#[cfg(any(feature = "metrics-otlp", feature = "otel-otlp"))]
3434
mod otlp_http;
3535

36+
pub use config::*;
37+
3638
#[cfg(test)]
3739
mod test_support {
3840
pub use fluxheim_common::test_support::*;
3941
}
40-
41-
pub use config::*;

scripts/stable_release_gate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ echo "stable release gate: formatting"
2727
cargo fmt --all --check
2828

2929
echo "stable release gate: lint"
30-
cargo clippy --all-targets -- -D warnings
30+
cargo clippy --workspace --all-targets -- -D warnings
3131

3232
echo "stable release gate: tests"
33-
cargo test
33+
cargo test --workspace
3434

3535
if [ "${FLUXHEIM_GATE_OWASP_RUN:-0}" = "1" ]; then
3636
echo "stable release gate: OWASP Top 10 2025 baseline (run)"

scripts/validate-owasp-top10-2025.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ require_test() {
3333
run_test() {
3434
name="$1"
3535
echo "owasp baseline: running $name"
36-
cargo test --lib "$name"
36+
cargo test --workspace "$name"
3737
}
3838

3939
echo "owasp baseline: static policy checks"
@@ -57,7 +57,7 @@ require_file_contains docs/production-readiness.md 'FLUXHEIM_GATE_FIPS_OPENSSL=1
5757
require_file_contains docs/production-readiness.md 'profile-fips-rustls' "rustls/AWS-LC FIPS documentation"
5858

5959
echo "owasp baseline: collecting test inventory"
60-
test_list="$(cargo test -- --list)"
60+
test_list="$(cargo test --workspace -- --list)"
6161

6262
echo "owasp baseline: checking representative regression tests"
6363
while IFS='|' read -r category test_name; do

0 commit comments

Comments
 (0)