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

StaflSystems / openhtf / 12419082051
61%
master: 64%

Build:
Build:
LAST BUILD BRANCH: feature/stop-test-button
DEFAULT BRANCH: master
Ran 19 Dec 2024 07:02PM UTC
Jobs 5
Files 64
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

19 Dec 2024 07:00PM UTC coverage: 61.479%. First build
12419082051

push

github

willson556
station_server: provide history handlers

While the history handlers do need to match what has been saved on disk,
the project provides MfgEvent protobuffer writers out of the box, and
no-others, so at least let the out of box experience function as
expected, even if you would want to change this in your own
implementations.

To enable the (built in) writers, something like this is required in
your station server.

```

if __name__ == '__main__':
	openhtf.util.conf.load(station_server_port='4444')

	interface = mfg_inspector.MfgInspector()
	interface.set_converter(mfg_event_from_test_record)

	with station_server.StationServer(history_path="somepath") as server:
		while 1:
			test = .... #your tests here
			test.add_output_callbacks(server.publish_final_state)
			# explicitly match hardcoded pattern in HistoryListHandler
			test.add_output_callbacks(interface.save_to_disk("somepath/mfg_event_{dut_id}_{start_time_millis}.pb"))
			test.execute(test_start=user_input.prompt_for_test_start())
```

Signed-off-by: Karl Palsson <karlp@etactica.com>

0 of 30 new or added lines in 1 file covered. (0.0%)

4622 of 7518 relevant lines covered (61.48%)

3.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 12419082051.1 19 Dec 2024 07:02PM UTC 0
61.37
GitHub Action Run
2 python-3.11 - 12419082051.2 19 Dec 2024 07:02PM UTC 0
61.37
GitHub Action Run
3 python-3.12 - 12419082051.3 19 Dec 2024 07:02PM UTC 0
61.37
GitHub Action Run
4 python-3.13 - 12419082051.4 19 Dec 2024 07:02PM UTC 0
61.37
GitHub Action Run
5 python-3.9 - 12419082051.5 19 Dec 2024 09:58PM UTC 0
61.45
GitHub Action Run
Source Files on build 12419082051
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12419082051
  • 589600aa on github
  • Next Build on staging (#12421770629)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc