skirt nec. for church in N. Ireland?

I will be attending church while visiting Northern Ireland and wondered if I needed to pack a skirt/dress for that. I don't worry about it in the States but don't want to offend-is it acceptable to wear pants? Thanks