I'm new to gitlab CI/CD.

I want to set-up my Selenium tests to run whenever a code is checked in gitlab.

The selenium tests are written in Java - and it is a Maven project.

Also, the selenium Grid is being used in docker for parallel testing.

I've also set up gitlab runner in docker.

I registered the runner to the gitlab repository where my selenium project is. when I'm running the tests, it pick up the correct runner, but I'm not sure on how to execute the maven project and make it run against the selenium-grid.

Note: my project is working fine locally.