Running appium mobile tests in CI/CD pipeline

How can you integrate and run Appium iOS and android mobile tests with GitLab CI/CD pipeline? Is there any guide or documentation if this is supported in gitlab?

Thanks.