WATonomous / wato_monorepo

Dockerized ROS2 stack for the WATonomous Autonomous Driving Software Pipeline
Apache License 2.0
89 stars 1 forks source link

Added functionality for running CI unit tests on modified modules only #72

Closed hepromark closed 9 months ago

hepromark commented 9 months ago

Currently CI runs all unit tests on the entire mono-repo regardless of where changes actually occur. This is inefficient & wastes time, since the unit tests are specific to only 1 module and changes outside that module won't impact those tests.

hepromark commented 9 months ago

Hi. I've added the comparison between latest commit vs. main branch for selective CI pipeline unit-testing.

Let me know what needs to be changed, thanks!

hepromark commented 9 months ago

"add a confirm-build-and-unittest-complete job after build-and-unittest so that I can add it as a requirement to pass, instead of having all the build jobs as a requirement"

Is what I have right now satisfactory?