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

run-tests.sh: Get GitHub token from gh if envvar not set #202

Merged
merged 1 commit into from
May 20, 2024

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented May 20, 2024

No description provided.

@jwodder jwodder added the tests Add or improve existing tests label May 20, 2024
@jwodder jwodder requested a review from yarikoptic May 20, 2024 12:23
@codecov-commenter
Copy link

codecov-commenter commented May 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.53%. Comparing base (97928c4) to head (6ab391d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #202      +/-   ##
==========================================
- Coverage   65.77%   65.53%   -0.25%     
==========================================
  Files           1        1              
  Lines        1648     1648              
  Branches      409      409              
==========================================
- Hits         1084     1080       -4     
- Misses        460      465       +5     
+ Partials      104      103       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yarikoptic
Copy link
Member

what is this solving?

NB windows tests seems to generally fail ATM, unrelated to this PR

@jwodder
Copy link
Member Author

jwodder commented May 20, 2024

@yarikoptic

what is this solving?

I want to stop storing my GitHub token under hub.oauthtoken in my ~/.gitconfig. Currently, I need to keep it there for whenever I run this project's tests locally.

@yarikoptic yarikoptic merged commit dd73d86 into master May 20, 2024
34 of 36 checks passed
@yarikoptic yarikoptic deleted the gh-token branch May 20, 2024 18:17
@yarikoptic
Copy link
Member

FWIW could be stored in external file and "included" within ~/.gitconfig

[include]
  path = ~/.gitconfig-priv.inc

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

Successfully merging this pull request may close these issues.

3 participants