CI/CD pipeline help for connecting it to GitHub, and my VPS

Hi all, I’m new to DevOps and currently on an apprenticeship. I’m trying to create my first CI/CD pipeline using Gitlab and it keeps failing at the Unit test stage, however if I manually run these tests on my VPS it passes both tests. Could you please advise on what I could be doing wrong.

I keep getting an error from the Unit tests saying it’s initialising an empty repository in gitlab, but all I have here is the gitlab yaml, the code for the WordPress sites are stored in GitHub and cloned to our VPS. These are run via Docker and docker compose. They’re currently live and I want to connect this pipeline so it runs tests before pushing the code to the live website. I have attached a screenshot of the YAML with certain bits redacted :slight_smile:

Thanks in advance!