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

tfcollins / pytest-libiio / 27760652409
87%

Build:
DEFAULT BRANCH: main
Ran 18 Jun 2026 12:52PM UTC
Jobs 1
Files 5
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

18 Jun 2026 12:50PM UTC coverage: 86.508% (-0.01%) from 86.52%
27760652409

push

github

web-flow
feat: add coverage blacklist for devices, channels, and attributes (#70)

Add a per-hardware `blacklist:` section to the hardware-map YAML that
excludes specific devices, channels, or attributes from --iio-coverage
tracking. Blacklisted items are removed entirely: they are not counted
when accessed and do not appear in the coverage denominator.

- coverage.py: new Blacklist helper (glob matching via fnmatch.fnmatchcase,
  single attr_blacklisted source of truth); build_context_map skips
  excluded devices/channels/attrs; trackers carry the per-hw spec.
- mkpatch.py: gate _read/_write increments on the blacklist while still
  calling the original read/write (no KeyError on excluded keys).
- plugin.py: extract_blacklists() helper; pytest_sessionstart loads it
  from the hardware map.
- docs/cli.md: document the blacklist schema, globs, and limitations.

Entries are structured dicts with glob support in every field; debug
attributes honor whole-device blacklisting only.

Claude-Session: https://claude.ai/code/session_01XmLzEBjfG32VnfgUswwxSP

65 of 74 new or added lines in 3 files covered. (87.84%)

2 existing lines in 2 files now uncovered.

763 of 882 relevant lines covered (86.51%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
85.19
-0.28% pytest_libiio/coverage.py
2
84.2
0.08% pytest_libiio/plugin.py

Coverage Regressions

Lines Coverage ∆ File
1
85.19
-0.28% pytest_libiio/coverage.py
1
84.2
0.08% pytest_libiio/plugin.py
Jobs
ID Job ID Ran Files Coverage
1 27760652409.1 18 Jun 2026 12:52PM UTC 5
86.51
GitHub Action Run
Source Files on build 27760652409
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 91fa4ce8 on github
  • Prev Build on main (#27063834114)
  • Next Build on main (#27761878382)
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