In my last playthrough, I decided to do an anti-infection character where I killed every single infected character I came across, meaning I killed all my companions. I ended up doing a super stealth solo ranger for that run lol.
I don't know if you got all the tadpoles, they can be sneaky. To be safe, you best kill every humanoid to can find!