mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-02 03:01:52 +08:00
Wire the test toolchain into developer-facing entry points and CI: - Makefile gains test, test-it, test-e2e and coverage targets; the help banner advertises them alongside the existing build commands so contributors do not need to memorise the underlying mvn invocations. - A new Test workflow runs three sequenced jobs: unit (mvn test, skipping the integration phase), integration (mvn verify, skipping unit phase, running with TESTCONTAINERS_REUSE_ENABLE=true), and a final coverage job that downloads both jacoco .exec artifacts and rebuilds the aggregate report from dc3-coverage. - A new E2E workflow runs make test-e2e on develop/release/main pushes and on manual dispatch, with a 90 minute timeout that accommodates cold compose start-up plus the full critical path battery. - The existing CI workflow keeps its fast-fail compile job unchanged so PR feedback latency stays low; tests are now owned exclusively by the new Test workflow.