How test a correct migration of temporal server to a new version?

I’m considering a scenario of migration where I need to update a temporal server to a new version and, in some cases, the DB schema.
I’m trying to automate it and so I’m considering the use of an e2e test to run as validation step (to check DB correct availability, server correct status, …).

Have you got a set of tests I can use for this purpose?
I’m thinking to a curl on a particular URL or at some rows in a log or something else that you are probably using in your test pipeline.

Great Thanks
Best Regards