decred / vspd

A Voting Service Provider (VSP) for the Decred network.
ISC License
18 stars 21 forks source link

ci: Simplify run_test.sh script. #475

Closed jholdstock closed 5 months ago

jholdstock commented 5 months ago

Run tests and linters against a hard-coded set of local submodules instead of attempting to find submodules dynamically.

While this has the obvious drawback of needing to manually update the list of submodules, it greatly simplifies the script by removing a bunch of regexes and string manipulation. This trade-off seems worthwhile because the list of submodules in this repo will not be something which changes often.

This change makes the script less brittle because it is hard-coded to always run against the local code, regardless of any changes to module versionining or project dependencies.