I don't think there was a name back then, since it's one of the first religions. It's simply called Greek mythology now... However, worshipping gods (Greek, Roman, Egyptian, etc) back then was generally called idolatry. Ты can look it up to find the exact meaning.