Skip to content

Commit

Permalink
Remove more errors on warnings on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoaguirre committed Feb 6, 2024
1 parent 63d3110 commit b92e879
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ test-frame-ui:
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: "-C debug-assertions -D warnings"
RUSTFLAGS: "-C debug-assertions"
RUST_BACKTRACE: 1
WASM_BUILD_NO_COLOR: 1
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
WASM_BUILD_RUSTFLAGS: "-C debug-assertions"
# Ensure we run the UI tests.
RUN_UI_TESTS: 1
script:
Expand All @@ -347,10 +347,10 @@ quick-benchmarks:
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: "-C debug-assertions -D warnings"
RUSTFLAGS: "-C debug-assertions"
RUST_BACKTRACE: "full"
WASM_BUILD_NO_COLOR: 1
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
WASM_BUILD_RUSTFLAGS: "-C debug-assertions"
script:
- time cargo run --locked --release -p staging-node-cli --bin substrate-node --features runtime-benchmarks -- benchmark pallet --execution wasm --wasm-execution compiled --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1

Expand Down Expand Up @@ -387,10 +387,10 @@ test-linux-stable-int:
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: "-C debug-assertions -D warnings"
RUSTFLAGS: "-C debug-assertions"
RUST_BACKTRACE: 1
WASM_BUILD_NO_COLOR: 1
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
WASM_BUILD_RUSTFLAGS: "-C debug-assertions"
# Ensure we run the UI tests.
RUN_UI_TESTS: 1
script:
Expand Down

0 comments on commit b92e879

Please sign in to comment.