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

lukasoppermann / design-tokens
71%

Build:
DEFAULT BRANCH: main
Repo Added 20 Nov 2020 08:43AM UTC
Files 52
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • feat/github-direct-commit
  • main
  • patch-1

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

Relevant lines Covered
Build:
Build:
945 RELEVANT LINES 675 COVERED LINES
4.85 HITS PER LINE
Source Files on main
  • Tree
  • List 52
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20169356520 main 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,... push 12 Dec 2025 02:11PM UTC web-flow github
71.42
19824605659 patch-1 Merge ae534b679 into 8ea92fb41 Pull #336 01 Dec 2025 01:41PM UTC web-flow github
77.92
19765840171 patch-1 Merge 6fa87ac84 into 8ea92fb41 Pull #336 28 Nov 2025 02:08PM UTC web-flow github
77.92
19331724053 feat/github-direct-commit Merge 4382cabf9 into 8ea92fb41 Pull #333 16 Nov 2025 10:28AM UTC web-flow github
71.42
19233910186 feat/github-direct-commit Merge c1d61a312 into 8ea92fb41 Pull #333 13 Nov 2025 10:19AM UTC web-flow github
71.42
18756954461 feat/github-direct-commit Merge 60a858ac1 into 8ea92fb41 Pull #333 05 Nov 2025 08:02AM UTC web-flow github
70.26
18306258487 main fix: avoid error when no 'mode' is found (#330) #329 Co-authored-by: Omar Adobati <omaadoba@WKMZTD632111.global.publicisgroupe.net> push 07 Oct 2025 08:10AM UTC web-flow github
77.92
13963270226 main Merge 185387dc7 into c8c1337e4 Pull #330 20 Mar 2025 06:27AM UTC web-flow github
77.92
13006183152 main fix push 28 Jan 2025 08:14AM UTC lukasoppermann github
78.03
13006095021 main fix: use btoa instead of Buffer.from (#327) push 28 Jan 2025 08:09AM UTC web-flow github
78.03
See All Builds (560)
  • Repo on GitHub
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

© 2025 Coveralls, Inc