The Bazel Central Registry has only limited capability to run tests for registered Bazel modules. In particular, local modules are very difficult, or impossible to integrate. Therefore, it's generally recommended to keep the tests on the BCR very light.
Refer to the BCR documentation for further information.