potty training!!! need help😢

April
my son is almost 2 and a half, iv been working really hard with potty training him for several months. he tells me when he needs to pee but refuses go poop in the potty, he will hold it until he has a diaper on for night time or he will poop in the tub. im getting very frusterated and im not sure what else to do. he has always had a sensitive tummy and poops runny all the time. im getting sick of scrubbing the tub everyday and laundering his bedding, im almost 8 months pregnant and running out of steam fast