Lyon beat Grasshoppers 1-0 to secure a Champions League play-off spot, while FC Basel and Fenerbahce also progressed.