If you felt no penetration, then there was no risk. The penis has to go into the vagina for a risk for HIV and it has to be unprotected. Risks for adults include unprotected vaginal or anal sex or sharing IV drug needles. You also mention this is your boyfriend. That would make him very low risk in terms of wouldn't you know if he had HIV? He's not a high risk partner at this point.