Post Deploy Tests

Hello. Is it possible to run tests after deployment. I’m currently implementing an API which makes other api calls from a test server. The api calls can only be made from the test server. Testing is quite bothersome because I have to push, ssh into the server and pull, then run tests. Can gitlab handle such scenerios easily?