Team-OKC-Robotics / FRC-2022-CPP

a c++ port of our FRC-2022 code as training in C++
Other
0 stars 2 forks source link

Make parameter loading work in CI #13

Open jkleiber opened 1 year ago

jkleiber commented 1 year ago

Summary In #8 we added a way to load parameters from a file. It would be good if unit tests could depend on the parameter management system by loading the parameters for specific tests.

As of right now, parameter loading doesn't work in CI because the unit tests create specific folders in the build directory without copying the parameters file into the same folder. The objective of this issue is to fix the build scripts such that the parameters.toml gets copied to the deploy directory when running CI or unit tests locally.

Note: CI runs Linux, so a linux computer may need to be used to avoid pushing to CI repeatedly to debug.

Work To Do

Verification