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

dangernoodle-io / cc3000-wifi-driver / 25204368726
100%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 05:59AM UTC
Jobs 1
Files 1
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

01 May 2026 05:59AM UTC coverage: 100.0%. First build
25204368726

push

github

web-flow
feat: host test infra (Unity native env + coverage) (#7)

* feat: host test infra (Unity native env + coverage)

add native PlatformIO environment with Unity framework for host-based unit
tests. initial coverage includes pgmspace_compat portability shim and
data_types definitions. mirrors breadboard's CI pattern with test + coverage
job that feeds into smoke build dependencies. tests verify no-op behavior of
AVR-compatibility macros on non-AVR hosts.
- platformio.ini: add [env:native] with Unity, build flags, src includes
- test/test_host/: test_main.c entry point, test_pgmspace_compat.c (7 tests),
  test_data_types.c (17 tests)
- Makefile: add test and coverage targets; check still runs cppcheck
- .github/workflows/ci.yml: replace lint job with test job, gcovr upload,
  make smoke depend on test, update summary
- scripts/coverage.py: placeholder for future coverage instrumentation

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat: stub Arduino.h to enable real src/ coverage

Implement minimal Arduino.h stub that declares (but does not implement)
Arduino APIs. Allows cc3000_common.cpp to compile in off-target test
environment without hardware dependencies.

Changes:
- test/stubs/Arduino.h: minimal stub with Print, Stream, IPAddress, Client
  classes and common Arduino macros/function declarations
- platformio.ini: enable test_build_src, add cc3000_common.cpp to build,
  use -std=gnu++17 for C++ support, add test/stubs to include path
- test/test_host/test_stream_decode.c: replace extern declarations with
  #include "cc3000_common.h" to link real STREAM_TO_UINT functions
- test/test_host/stream_decode_impl.c: delete (duplicates now in real source)
- src/utility/cc3000_common.h: guard struct timeval redefinition to avoid
  conflicts with libc on off-target platforms
- .github/workflows/ci.yml: re-enable Coverage step and Coveralls upload

Test results: 37 tests passing, cc3000_common.cpp coverage at 50%
(STREAM_TO_UINT16_f and STREAM_TO_U... (continued)

9 of 9 new or added lines in 1 file covered. (100.0%)

9 of 9 relevant lines covered (100.0%)

6.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25204368726.1 01 May 2026 05:59AM UTC 1
100.0
GitHub Action Run
Source Files on build 25204368726
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25204368726
  • 41681ff7 on github
  • Next Build on main (#25204499324)
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