Wednesday was the deadline for all New York workers to complete sexual harassment training — but the state Senate has yet to comply with a law it passed last year.

Most state employees have had to take annual harassment training since Gov. Mario Cuomo signed a 1983 executive order. And a 2018 law expanded the requirement to all private- and public-sector workers. But the Senate held its last anti-harassment course 18 months ago.

Indeed, the training happened every March under Republican leadership — but the new Democratic majority elected last fall failed to follow through.

A spokesman for Majority Leader Andrea Stewart-Cousins told Politico that the Senate has until year’s end to comply — which doesn’t explain the delay.

It’s not like the training isn’t needed. One now-ex-senator, for example, recently admitted to sexually harassing a staffer and pleaded guilty to offering her money and a job to make the ethics complaint go away.

For years, legislative leaders shielded lawmakers and staff, covering up even rape with hush money and nondisclosure agreements. Times are definitely changing, with younger female lawmakers, such as Sen. Alessandra Biaggi (D-Bronx), pushing hard against the old guard.

But it’s hardly a good sign that the Senate didn’t get around to doing its part before the end of session back in June. Do as they say, not as they do?