-
Notifications
You must be signed in to change notification settings - Fork 5
Description
With the merge of #17, the CI suite is unable to run. It fails out with this error while attempting to build the Habitica server:
npm error In file included from ../src/kerberos_common.h:7,
npm error from ../src/kerberos.h:5,
npm error from ../src/kerberos.cc:1:
npm error ../src/unix/kerberos_gss.h:21:14: fatal error: gssapi/gssapi.h: No such file or directory
npm error 21 | #include <gssapi/gssapi.h>
npm error | ^~~~~~~~~~~~~~~~~
@Majed6 had this to say about the situation and possible remedies:
It's habitica setup that is failing. If you take a look at the test.yml file, you'll see that it tries to setup habitica's backend first. The failure is due to the outdated habitica's setup in this project. Most likely the use of ubuntu-latest default node 18 but it could be other things as well such as missing steps from the setup procedure for a habitica backend.
It might require us to run habitica on a separate container or use a hosted version of habitica to simplify the setup. Given how stable Habitica's API is, a hosted version makes more since especially if we use production or a dev build that is maintained for other use cases. Both Zapier and Habitica integrations are the most stable services I've ever come across.
Alternatively we could mock Habitica and separate both projects.