Add docker-compose file to run tests (#1463)

This commit is contained in:
Wolfgang Walther
2020-03-24 09:50:06 -05:00
committed by GitHub
parent fe59f9bedf
commit a80eb2ff0e
3 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ analyzeTable dbConn tableName =
loadFixture :: Text -> FilePath -> IO()
loadFixture dbConn name =
void $ readProcess "psql" ["--set", "ON_ERROR_STOP=1", toS dbConn, "-a", "-f", "test/fixtures/" ++ name ++ ".sql"] []
void $ readProcess "psql" ["--set", "ON_ERROR_STOP=1", toS dbConn, "-q", "-f", "test/fixtures/" ++ name ++ ".sql"] []
rangeHdrs :: ByteRange -> [Header]
rangeHdrs r = [rangeUnit, (hRange, renderByteRange r)]