# TODO: run tests and only rebuild on success