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

Alan-Jowett / bdd_test / 19216220011
88%

Build:
DEFAULT BRANCH: main
Ran 09 Nov 2025 11:40PM UTC
Jobs 1
Files 6
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

09 Nov 2025 11:39PM UTC coverage: 86.172%. Remained the same
19216220011

push

github

web-flow
Feature/precommit formatting checks (#26)

* feat: Add robust pre-commit formatting checks inspired by ebpf-for-windows

- Add .pre-commit-config.yaml for pre-commit framework support
- Add scripts/check-format.ps1 with comprehensive formatting checks
- Add scripts/install-hooks.ps1 for easy pre-commit hook setup
- Add scripts/pre-commit for Git hook with fallback support
- Add scripts/setup-dev-env.ps1 for complete development environment setup
- Update CONTRIBUTING.md with new automated formatting workflow
- Update README.md with quick setup instructions

Features:
- Automatic code formatting checks before commits
- Support for both pre-commit framework and simple Git hooks
- Comprehensive error messages and fix suggestions
- Cross-platform compatibility (Windows, Linux, macOS)
- Detailed verbose output and quiet mode options
- Integration with existing CI/CD workflows

Based on Microsoft's ebpf-for-windows project approach for robust
pre-commit validation and developer experience.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Add pre-commit hook

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Add git hooks installation and cppcheck to pre-commit

- Update CMakeLists.txt to automatically install pre-commit hook to .git/hooks/
- Add BDD_INSTALL_GIT_HOOKS option (defaults to ON) to control hook installation
- Enhance pre-commit script with cppcheck static analysis using same options as CI
- Only run cppcheck on staged C++ files to provide fast feedback
- Maintain consistency between local pre-commit checks and CI pipeline

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>

691 of 844 branches covered (81.87%)

Branch coverage included in aggregate %.

680 of 747 relevant lines covered (91.03%)

224.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19216220011.1 09 Nov 2025 11:40PM UTC 6
86.17
GitHub Action Run
Source Files on build 19216220011
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19216220011
  • 21ff42bf on github
  • Prev Build on main (#19214734872)
  • Next Build on main (#19217384083)
  • Delete
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