You can either use it in CI or run locally via Docker:
docker run --rm -it -v ${PWD}:/build --workdir /build ghcr.io/cirruslabs/flutter:stable flutter test
The example above simply mount current working directory and runs flutter test
https://github.com/cirruslabs/docker-images-flutter/pkgs/container/flutter