drover: task-1767765526815041318

Task: Add compiler warnings as errors
This commit is contained in:
Ubuntu
2026-01-10 08:21:31 +00:00
parent 4788503114
commit 74db07930f
7 changed files with 16 additions and 0 deletions

View File

@@ -99,6 +99,12 @@ debug-assertions = false
overflow-checks = false
incremental = false
# =============================================================================
# Compiler Warnings Configuration
# =============================================================================
# Treat compiler warnings as errors in CI to prevent warnings in the codebase
# Set RUSTFLAGS="-D warnings" in CI to enable
# =============================================================================
# Test Coverage Configuration
# =============================================================================

View File

@@ -47,6 +47,7 @@ env:
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
COVERAGE_MINIMUM_LINE_COVERAGE: 95
COVERAGE_MINIMUM_BRANCH_COVERAGE: 90
COVERAGE_MINIMUM_FUNCTION_COVERAGE: 100

View File

@@ -38,6 +38,7 @@ on:
env:
NODE_VERSION: '20'
RUST_VERSION: 'stable'
RUSTFLAGS: "-D warnings"
jobs:
cross-browser-tests:

View File

@@ -21,6 +21,7 @@ env:
RUST_VERSION: 'stable'
NODE_VERSION: '18'
WASM_PACK_VERSION: '0.12.1'
RUSTFLAGS: "-D warnings"
jobs:
# Job 1: Build and Test the Demo

View File

@@ -18,6 +18,9 @@ on:
- 'tests/radio_group_integration_test.rs'
- 'scripts/test_radio_group.sh'
env:
RUSTFLAGS: "-D warnings"
jobs:
test-radio-group:
name: RadioGroup Component Tests

View File

@@ -19,6 +19,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
jobs:
test-tooltip:

View File

@@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
env:
RUSTFLAGS: "-D warnings"
jobs:
book-test:
name: Test Book