Implementing testing in Gitlab-CI

I’m attempting to implement testing within a GitLab CI Pipeline. I’m currently working on this and was wondering if anyone would be open to letting me ask questions. I’ve posted my current issue on StackOverflow but I wanted to include it here as well. Any help would be greatly apprecaited.