Don't run local tests if `--no-tests` is passed