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

dangernoodle-io / TaipanMiner / 25076734749
90%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 08:45PM UTC
Jobs 1
Files 27
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

28 Apr 2026 08:44PM UTC coverage: 92.905% (+0.4%) from 92.465%
25076734749

push

github

web-flow
test: cover ASIC paths in routes_json builders (TA-292) (#248)

- add -DASIC_CHIP and -DBB_HW_BOARD_HEADER=\"boards/bitaxe_601.h\" +
  -I.breadboard/components/bb_hw/include to [env:native] build_flags so
  the ASIC-gated sections of routes_json.c and routes_json.h compile on the
  host. mining.c pulls in board.h under ASIC_CHIP, and board.h requires
  bb_hw.h; the board header itself is pure #define constants so it compiles
  cleanly without ESP-IDF.
- update existing test_routes_json.c expectations to match the ASIC-path
  output (asic_chips array, asic_total_ghs/error nulls, asic_freq fields).
- add test/test_host/test_routes_json_asic.c with 24 new tests covering:
  - build_power_json: all sensors populated, all null, efficiency_jth null
    (hashrate=0 and pcore_mw=0), vin_low true/false/at-threshold, each
    sensor null individually (vcore, icore, board_temp, vr_temp)
  - build_fan_json: both populated, rpm null, duty null, both null
  - build_stats_json ASIC branches: asic_total_valid true/false, expected_ghs
    populated vs null, asic_freq_cfg=-1 emits null, chip array with 2 chips
    (last_drop_us=0 → null vs nonzero → age in seconds), empty chip array

branch coverage: 82.6% → 83.9%
test count: 397 → 421

582 of 694 branches covered (83.86%)

Branch coverage included in aggregate %.

1356 of 1392 relevant lines covered (97.41%)

298860.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25076734749.1 28 Apr 2026 08:45PM UTC 27
92.91
GitHub Action Run
Source Files on build 25076734749
  • Tree
  • List 27
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25076734749
  • 50f89a5d on github
  • Prev Build on main (#25075156307)
  • Next Build on main (#25083260026)
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