vagrant box tests in gitlab-ci
You can do via docker, since it's a test.
Here is an example repository, both docker and vagrant.
https://github.com/jonashackt/gitlab-ci-stack
https://blog.codecentric.de/en/2018/05/gitlab-ci-pipeline/