Get integration tests working

This commit is contained in:
jaina heartles 2022-10-11 22:48:08 -07:00
parent b79be4bfd1
commit 23da0c6857
5 changed files with 113 additions and 39 deletions

View file

@ -69,8 +69,10 @@ pub fn build(b: *std.build.Builder) void {
api_integration.addPackage(util_pkg);
api_integration.addPackage(http_pkg);
api_integration.addPackage(main_pkg);
api_integration.addPackage(api_pkg);
api_integration.linkLibC();
api_integration.linkSystemLibrary("sqlite3");
api_integration.linkSystemLibrary("pq");
const integration_tests = b.step("integration-tests", "run tests");
integration_tests.dependOn(&api_integration.step);