Closed chrishulton closed 7 years ago
I tried running the tests locally and hit some errors. I think the CI may be misconfigured. It doesn't seem to build the image before running the tests, so it instead pulls the image from dockerhub.
update: I had node_modules
from an earlier build lying around on my filesystem, making my image weird/different. I'm green now locally. CI does still look a little strange to me though...
@maxjacobson great find. i grabbed the correct config from https://github.com/codeclimate/codeclimate-phpmd/blob/master/circle.yml
Since we weren't overriding the image name in the env variable, it was just using the non-branch tag for the tests.
This also bumps the coffeescript version to
1.11.1
which together should address this issue: https://github.com/codeclimate/codeclimate-coffeelint/issues/26To upgrade I ran in the code project:
nodejs
separated outnodejs-npm
into a separate package, which is the reason for the Dockerfile change (npm is not found otherwise).