No spark

2011 2
I have a 2011 Mazda 2 I had to swap engines with a used running engine after I blew my head gasket. I have the new used engine in the car i'm getting fuel and turns over fine but no spark. I have checked fuses and battery is fully charged. Any suggestions on where to go next with this?