Closed isaachinman closed 3 months ago
@paambaati Would love to see this fixed ASAP and am happy to help. Otherwise we will need to switch away to another CodeClimate action, or write our own. There are hosted darwin builds for OSX.
The key problem here is arm64
vs amd64
. Actually, I wonder if this is a CodeClimate limitation?
It is indeed a CC limitation; see https://github.com/paambaati/codeclimate-action/blob/749a6d38dd25db47aba7d93e78a60a6bff6df89f/test/integration.test.ts#L14-L20
@paambaati I see the integration test code above, but it's actually failing instead of skipping, is this expected? E.g.:
https://github.com/rogerluan/arkana/actions/runs/9431336943/job/25979873736
@rogerluan This is expected, because CodeClimate does not publish ARM64 images — see https://github.com/codeclimate/test-reporter
I will make sure there’s a more obvious error message in the next release.
My bad, I thought the code above was a check in the runtime code that would print that message in case it was running on macOS, but it's just an integration test, not the actual code right 😅
I guess I'll have to build for linux if I want to upload code coverage then 😬 since it looks like they're not interested in fixing that.
Thanks @paambaati
Please upgrade to v8.0.0
of this action and you should be able to see a more obvious error when using an unsupported environment.
This action does not successfully run on the hosted
macos-14
runners.I get the following error: