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

Set up github token for coveralls in tom_fink #45

Open
jchate6 opened this issue Mar 29, 2024 · 0 comments
Open

Set up github token for coveralls in tom_fink #45

jchate6 opened this issue Mar 29, 2024 · 0 comments
Labels
maintenance Non-user facing updates to clean code and make developer life easier.

Comments

@jchate6
Copy link
Contributor

jchate6 commented Mar 29, 2024

Run poetry run coveralls
  poetry run coveralls
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/TOMToolkit/tom_fink/actions/runs/8481547434/job/23239093385?pr=44#step:6:3).9.19/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.19/x6[4](https://github.com/TOMToolkit/tom_fink/actions/runs/8481547434/job/23239093385?pr=44#step:6:4)/lib
    COVERALLS_REPO_TOKEN: 
Running on Github Actions but GITHUB_TOKEN is not set. Add "env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" to your step config.
Traceback (most recent call last):
  File "/home/runner/.cache/pypoetry/virtualenvs/tom-fink-sHgo[5](https://github.com/TOMToolkit/tom_fink/actions/runs/8481547434/job/23239093385?pr=44#step:6:5)1wW-py3.9/lib/python3.9/site-packages/coveralls/cli.py", line [6](https://github.com/TOMToolkit/tom_fink/actions/runs/8481547434/job/23239093385?pr=44#step:6:6)4, in main
    coverallz = Coveralls(token_required,
  File "/home/runner/.cache/pypoetry/virtualenvs/tom-fink-sHgo51wW-py3.9/lib/python3.9/site-packages/coveralls/api.py", line 49, in __init__
    self.ensure_token()
  File "/home/runner/.cache/pypoetry/virtualenvs/tom-fink-sHgo51wW-py3.[9](https://github.com/TOMToolkit/tom_fink/actions/runs/8481547434/job/23239093385?pr=44#step:6:10)/lib/python3.9/site-packages/coveralls/api.py", line 56, in ensure_token
    raise CoverallsException(
coveralls.exception.CoverallsException: Running on Github Actions but GITHUB_TOKEN is not set. Add "env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" to your step config.
@github-project-automation github-project-automation bot moved this to Triage in TOM Toolkit Mar 29, 2024
@jchate6 jchate6 added bug Something isn't working and removed bug Something isn't working labels Mar 29, 2024
@jchate6 jchate6 moved this from Triage to Backlog in TOM Toolkit Mar 29, 2024
@jchate6 jchate6 added the maintenance Non-user facing updates to clean code and make developer life easier. label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Non-user facing updates to clean code and make developer life easier.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant