I found out my boyfriend of two years does cocaine..

I recently found out that boyfriend still does cocaine. When I met him I didn’t know any of this, 1 year into the relationship I found some old messages about it but he said it was before and he had stopped so I believed him. I recently spoke to his aunt and she told me I need you to help him stay away from that and I was confused but then she told me she was talking about cocaine. I told him if I found out he was still doing that, I was never going to talk to him again. We’ve been together for 2 yrs now, so it’s hard to just barely find out about this. I got hired at a new job which I was really excited about and i had a drug test coming up I don’t do drugs so I know I’d be good. I saw him I went through his google searches and one of them was “ if you snort cocaine and kiss someone will it” I don’t think he finished typing. Now I’m wondering if he fucked this up for me. What should I do? This is so hard. I grew up with an alcoholic dad I don’t want to live with another person who has an addiction for the rest of my life...