Ross County came from behind to beat Hamilton Accies 2-1 in Dingwall and effectively end the visitors' seven-year stay in the top flight.
One point at Motherwell on Sunday will be enough to keep the Staggies in the Premiership after Kilmarnock drew 3-3 with St Mirren at Rugby Park, having been 2-0 and 3-2 ahead. In the other bottom-six game, Motherwell hit back to draw 2-2 with Dundee United at Tannadice.
Champions Rangers were 3-0 winners away to Livingston and remain unbeaten in the Premiership, having now amassed 99 points with one game left.
Celtic defeated St Johnstone 4-0 at Celtic Park while Hibernian secured third spot thanks to a 1-0 win over Aberdeen at Pittodrie.
In the first leg of the Premiership play-off semi-final, Dundee triumphed 3-0 over Raith Rovers at Stark's Park, helped by a Jordan McGhee double. The return match is on Saturday.