github service error: Couldn't find a repository matching this job
avelino opened this issue · 3 comments
avelino commented
without -service
:
goveralls -repotoken $COVERALLS_TOKEN -coverprofile=coverage.out -race -covermode atomic -v
Job ##392.5
https://coveralls.io/jobs/86151961
with -service
:
goveralls -repotoken $COVERALLS_TOKEN -coverprofile=coverage.out -race -covermode atomic -v -service=github
bad response status from coveralls: 422
{"message":"Couldn't find a repository matching this job.","error":true}
goveralls -repotoken $COVERALLS_TOKEN -coverprofile=coverage.out -race -covermode atomic -v -service github
bad response status from coveralls: 422
{"message":"Couldn't find a repository matching this job.","error":true}
shogo82148 commented
use ${{ secrets.GITHUB_TOKEN }}
instead of COVERALLS_TOKEN
https://github.com/mattn/goveralls#github-actions
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github
avelino commented
use
${{ secrets.GITHUB_TOKEN }}
instead of COVERALLS_TOKENhttps://github.com/mattn/goveralls#github-actions
- name: Send coverage env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: goveralls -coverprofile=covprofile -service=github
doen't working: https://github.com/prest/prest/runs/3461878043?check_suite_focus=true
Tochemey commented
I think there should be a way to provide the commit hash without the tool to figure out because the coveralls api reference does accept the commit hash.