chore: do coverage only if build is successful