Lausanne to Ticino

Planning a 3 day trip next week. Can one take the shorter route through Italy? If yes, are there any forms required to be filled or a Covid test?

TIA.