• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mindersec / minder / 41527424589
67%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 09:31PM UTC
Jobs 1
Files 359
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2026 09:20PM UTC coverage: 65.811% (+0.07%) from 65.744%
41527424589

push

github

web-flow
test(credentials): add unit tests for GitLab and OAuth2 token credentials (#7061)

Adds comprehensive unit test coverage for GitLabTokenCredential and OAuth2TokenCredential in internal/providers/credentials/:
- TestGitLabTokenCredential:
  - GetCredential: asserts raw token string retrieval
  - GetCacheKey: verifies cache key matches token
  - SetAuthorizationHeader: validates Bearer token format in HTTP request header
  - GetAsContainerAuthenticator: tests container registry authn.Basic mapping with owner and token
  - AddToPushOptions: verifies git push BasicAuth setup with owner and token
  - AddToCloneOptions: asserts git clone BasicAuth setup with default username minder-user and token
  - GetAsOAuth2TokenSource: verifies token resolution from OAuth2 static token source
- TestOAuth2TokenCredential:
  - NewOAuth2TokenCredential and GetAsOAuth2TokenSource: validates TokenSource access token resolution

Signed-off-by: Ravindra Kumar Bundela <ravindrabundela1205@gmail.com>

23342 of 35468 relevant lines covered (65.81%)

58.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
69.7
-0.3% internal/authz/authz.go
Jobs
ID Job ID Ran Files Coverage
1 41527424589.1 02 Nov 2026 09:31PM UTC 359
65.81
GitHub Action Run
Source Files on build 41527424589
  • Tree
  • List 359
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41527424589
  • 8c3b199a on github
  • Prev Build on main (#41527193709)
  • Next Build on main (#41544651598)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc