As noted by @contivero, stack test should do a test. Probably just add an extra Test.hs which calls the existing test suite.