Closed hemant-brb closed 1 year ago
- name: Backend Code Coverage report id: code-coverage uses: barecheck/code-coverage-action@v1 with: barecheck-github-app-token: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }} lcov-file: "apps/func/coverage/lcov.info" send-summary-comment: true show-annotations: "warning" env: BARECHECK_GITHUB_APP_TOKEN: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
Output: lcov-file: apps/func/coverage/lcov.info Current code coverage: 48.29% Base branch code coverage: 0% Code coverage diff: 48.29% Code coverage diff: 48.29% HttpError: Not Found Error: Not Found
Closing the issue as it was an issue on my end.
Just in case anyone faces the same the reason for the error was that BARECHECK_GITHUB_APP_TOKEN didn't have access to the repo.
Output: lcov-file: apps/func/coverage/lcov.info Current code coverage: 48.29% Base branch code coverage: 0% Code coverage diff: 48.29% Code coverage diff: 48.29% HttpError: Not Found Error: Not Found