Can you test all platforms at once for SPM package?

I have a package that supports multiple platforms.

Is there a way to run the tests on all the platforms easily?

At the moment, I have to manually select each platform, run the tests, then select the next platform, etc...