When to tell my boss??

So I am 10 weeks!! Yay! But am interviewing for a management position at work in a week or so...

when do I tell my boss I’m pregnant?? During the interview? After but before they announce who got it? If I get it do I tell them when they offer it to me?? So lost...