Dryer won't start

GE gas dryer will not start. If you hold the start switch in the on position, the drum spins but burner does not ignite. When you release the start switch the machine stops. I have replaced the timer and the start switch.