“Covariate” is a term we use to discuss the role of a variable in a model, but the model doesn’t know or care what we call it. All the model knows (assuming an OLS regression, which seems safe to assume) are $\hat{\beta} =(X^TX)^{-1}X^Ty$ and the corresponding standard values and p-values on the parameter estimates.
It’s then up to you to test the parameters that interest you. If something is a covariate but not the variable of interest, don’t test it. For example, in ANCOVA, the interest is in the categorical variable, not in the covariate. Perhaps you are interested in the effect of drug dose on a particular medical measurement, and you separate the men and women. You would test the drug dose but perhaps not care about the gender indicator variable.
There are all sorts of issues about whether you should test interactions and if control variables are worth including, but those are issues for regression modeling strategies and experimental design, subjects that are addressed in books, not SE posts.