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

lukasoppermann / design-tokens / 20169356520
71%

Build:
DEFAULT BRANCH: main
Ran 12 Dec 2025 02:11PM UTC
Jobs 1
Files 52
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

12 Dec 2025 02:10PM UTC coverage: 71.419% (-6.5%) from 77.921%
20169356520

push

github

web-flow
feat: add GitHub Direct Commit support (#333)

* feat: add GitHub Direct Commit support

- Add github_commit authentication type for direct file commits
- Implement GithubRepository module for GitHub API integration
- Add UI components for branch, filepath, and commit message configuration
- Update README documentation with github_commit auth option
- Supports automatic branch creation if not exists
- Handles both file creation and updates via GitHub API

* refactor: use URL object for more robust GitHub URL parsing

* docs: add GitHub Direct Commit URL examples to README

* refactor: remove simple owner/repo URL format support

- Remove simple owner/repo format from URL parsing logic
- Update README to document only supported URL formats
- Keep support for https://api.github.com/repos/owner/repo
- Keep support for https://github.com/owner/repo
- Remove :username/:repo format that fails HTML5 validation

* fix: update placeholder to show only supported GitHub URL formats

* docs: simplify GitHub Direct Commit URL format documentation

* fix: address code review feedback

- Add proper URI encoding for filenames with special characters
- Improve 422 status handling to only accept 'Reference already exists'
- Remove redundant targetBranch variable for code clarity

* test: add comprehensive tests for githubRepository module

- Test constructor initialization
- Test upload to existing branch with new/existing files
- Test branch creation when branch doesn't exist
- Test default commit message generation
- Test URL encoding for special characters and unicode
- Mock XMLHttpRequest for isolated unit testing
- Coverage increased from 1.76% to 46.01%

Addresses code review comment about test coverage decrease

* test: improve githubRepository test coverage to 50.44%

- Add tests for URL encoding with slashes
- Add tests for 422 Reference already exists handling
- Add tests for other 422 validation errors
- Add tests for invalid JSON in 422 responses
- Add test... (continued)

377 of 528 branches covered (71.4%)

Branch coverage included in aggregate %.

18 of 123 new or added lines in 2 files covered. (14.63%)

675 of 945 relevant lines covered (71.43%)

4.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
105
4.35
src/ui/modules/githubRepository.ts
Jobs
ID Job ID Ran Files Coverage
1 20169356520.1 12 Dec 2025 02:11PM UTC 52
71.42
GitHub Action Run
Source Files on build 20169356520
  • Tree
  • List 52
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ee5d72bc on github
  • Prev Build on main (#18306258487)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc