I am not familiar with connecting at ATH but at GVA it certainly should be fine if the flights are on time. You are connecting from Schengen to non-Schengen so will have to go through passport exit control but it should still be ok. Of course if there are delays then all bets are off.