A fire alarm has gone off outside a school.