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

coveralls: Stop using discouraged "--service=github" #97

Merged
merged 1 commit into from Dec 26, 2021

Conversation

hartwork
Copy link
Collaborator

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 446944e on actions-streamline-coveralls into fd83a20 on master.

@asyncee asyncee merged commit a066479 into master Dec 26, 2021
@hartwork hartwork deleted the actions-streamline-coveralls branch December 27, 2021 14:58
@hartwork hartwork added this to the 1.5.8 milestone Jan 3, 2022
hartwork added a commit that referenced this pull request Feb 7, 2022
.. so that it stops complaining about missing
variable GITHUB_TOKEN ..

> Running on Github Actions but GITHUB_TOKEN is not set.
> Add "env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" to
> your step config.

(which may have write access) and that we stopped
sharing with coveralls in PR #97.

The related code checks for presence of variable
GITHUB_ACTIONS so we we take that variable
from coveralls-python.

Rather than excluding variable GITHUB_ACTIONS,
we include all other GITHUB_* variables used by
coveralls-python.  The list was derive like this:

$ git clone --depth 1 https://github.com/TheKevJames/coveralls-python
$ cd coveralls-python/
$ git grep -oh "GITHUB_[^ ':\`*]\+" | sort -u
GITHUB_ACTIONS
GITHUB_HEAD_REF
GITHUB_REF
GITHUB_REPOSITORY
GITHUB_RUN_ID
GITHUB_RUN_NUMBER
GITHUB_SHA
GITHUB_TOKEN
hartwork added a commit that referenced this pull request Feb 7, 2022
.. so that it stops complaining about missing
variable GITHUB_TOKEN ..

> Running on Github Actions but GITHUB_TOKEN is not set.
> Add "env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" to
> your step config.

(which may have write access) and that we stopped
sharing with coveralls in PR #97.

The related code checks for presence of variable
GITHUB_ACTIONS so we we take that variable
from coveralls-python.

Rather than excluding variable GITHUB_ACTIONS,
we include all other GITHUB_* variables used by
coveralls-python.  The list was derived list this:

$ git clone --depth 1 https://github.com/TheKevJames/coveralls-python
$ cd coveralls-python/
$ git grep -oh "GITHUB_[^ ':\`*]\+" | sort -u
GITHUB_ACTIONS
GITHUB_HEAD_REF
GITHUB_REF
GITHUB_REPOSITORY
GITHUB_RUN_ID
GITHUB_RUN_NUMBER
GITHUB_SHA
GITHUB_TOKEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants