codeclimate / test-reporter

Code Climate Test Reporter
MIT License
156 stars 76 forks source link

Strange error on bitbucket pipelines... #408

Closed cetanu closed 5 years ago

cetanu commented 5 years ago

Howdy,

I've just tried setting up code-climate for my repo and...

I'm running it like this:

wget https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 -o cc-test-reporter
chmod +x cc-test-reporter
./cc-test-reporter before-build

Which ends up with the following result:

+ ./cc-test-reporter -d before-build
./cc-test-reporter: line 1: --2019-10-10: command not found
./cc-test-reporter: line 2: syntax error near unexpected token `('
./cc-test-reporter: line 2: `Resolving codeclimate.com (codeclimate.com)... 34.193.70.63, 52.6.234.107, 52.7.253.187'

I don't understand what's going on here but it looks borked.

This is running inside a python:3.7 docker image

cetanu commented 5 years ago

Actually.....

This is totally my fault for using wget

How funny 😄

kanav-linktree commented 2 years ago

What did you end up using? I tried yum it doesn't work for me on the amazonlinux base image.

cetanu commented 2 years ago

I'm not using code climate anymore, I just use output from pytest-cov instead