feat: add E2E test suite with nightly CI, fix dashboard Dockerfile #52
@@ -70,7 +70,7 @@ jobs:
|
||||
|
||||
# Tests (reuses compilation artifacts from clippy)
|
||||
- name: Tests (core + agent)
|
||||
run: cargo test -p compliance-core -p compliance-agent
|
||||
run: cargo test -p compliance-core -p compliance-agent --lib
|
||||
|
|
||||
- name: Tests (dashboard server)
|
||||
run: cargo test -p compliance-dashboard --features server --no-default-features
|
||||
- name: Tests (dashboard web)
|
||||
|
||||
Reference in New Issue
Block a user
[medium] Inconsistent test command in CI workflow
The test command for core and agent packages was changed from
cargo test -p compliance-core -p compliance-agenttocargo test -p compliance-core -p compliance-agent --lib. This change may exclude integration tests from being run, potentially hiding failures in the agent's integration behavior.Suggested fix: Revert to the previous command or explicitly include integration tests in the test suite.
*Scanner: code-review/convention | *
[low] Complex boolean expression in CI workflow
The test command in the CI workflow uses a complex boolean expression with multiple package specifications and feature flags that could be simplified for better readability and maintainability.
Suggested fix: Consider breaking down the cargo test command into separate steps or using a more structured approach to specify test targets and features.
*Scanner: code-review/complexity | *