Closed hepromark closed 9 months ago
Hi. I've added the comparison between latest commit vs. main branch for selective CI pipeline unit-testing.
setup-environment
job called get_changed_modules
, which outputs a space delimited list of modules (ex. "action interfacing samples") whose src files were changeddocker_context.sh
to take an string input, the space delimited list, and only test modules which are inside that listdocker_context.sh
will test everything.txt
files I made to show the CI pipeline selectively testing those modules onlyLet me know what needs to be changed, thanks!
"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?
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.