zoltan-nz / library-app

Detailed Ember.js v4.7 tutorial for absolute beginners. https://yoember.com
http://library-app.firebaseapp.com
196 stars 77 forks source link

enable Codacy coverage reporter #98

Closed tkraak closed 3 years ago

tkraak commented 3 years ago

@zoltan-nz looks like we still have issues with the CODACY_PROJECT_TOKEN. See this run.

Did you set up a CODACY_API_TOKEN or CODACY_PROJECT_TOKEN? More here.

zoltan-nz commented 3 years ago

Only API TOKEN can be downloaded from Codacy settings, there isn't any Project settings option for free accounts as described in the documentation, unfortunately. Probably for the paid version.

zoltan-nz commented 3 years ago

Found the Project API token. Added it to the secrets.

zoltan-nz commented 3 years ago

Looks like, it is buggy...

2021-08-01 08:43:36.518Z error [CodacyCoverageReporter] Invalid configuration: Empty argument for --project-token  - (CodacyCoverageReporter.scala:25)
tkraak commented 3 years ago

I merged this because it turns out that secrets are not passed to workflows that are triggered by a pull request from a fork.

Looks like secrets.CODACY_PROJECT_TOKEN is set up properly now. Thanks.