In my current set up, my development server has a bunch of bare git repositories from which me and some other users push to. However, now, I'd like to integrate PHPUnit testing on the server itself.
My initial idea was to have a sub directory in each repo named tests
, then have something like VisualPHPUnit run the tests so I can see the results through the server's "website". However, seeing as the remote repositories are bare, I can't exactly tell VPHPU to look for the test directories -- as they aren't really there.
Is there a better way of doing things? I was thinking of maybe having another repository that would contain tests for all the projects and just making it not bare -- but that goes against git standards and could possibly break stuff.