Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github service error: Couldn't find a repository matching this job #203

Open
avelino opened this issue Aug 30, 2021 · 3 comments
Open

github service error: Couldn't find a repository matching this job #203

avelino opened this issue Aug 30, 2021 · 3 comments

Comments

@avelino
Copy link

avelino commented Aug 30, 2021

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
Copy link
Collaborator

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
Copy link
Author

avelino commented Aug 30, 2021

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

doen't working: https://github.com/prest/prest/runs/3461878043?check_suite_focus=true

@Tochemey
Copy link

Tochemey commented Sep 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants