[GH-ISSUE #867] Crashes when run as a Github action #630

Closed
opened 2026-03-04 01:06:36 +03:00 by kerem · 2 comments
Owner

Originally created by @zreigz on GitHub (Aug 16, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/867

I need to test some CLI application using Github action. It crashes without any error. I was able to reproduce it using the demo app:
https://github.com/zreigz/table-view/actions/runs/5879993817/job/15945282829

Originally created by @zreigz on GitHub (Aug 16, 2023). Original GitHub issue: https://github.com/rivo/tview/issues/867 I need to test some CLI application using Github action. It crashes without any error. I was able to reproduce it using the demo app: https://github.com/zreigz/table-view/actions/runs/5879993817/job/15945282829
kerem closed this issue 2026-03-04 01:06:36 +03:00
Author
Owner

@rivo commented on GitHub (Aug 16, 2023):

Something with the environment this runs in. Maybe there is no terminal? You're trying to run an interactive application. It's not going to stop unless someone hits Ctrl-C. How do you want to send that event to your application? Maybe GitHub Actions kills it because it doesn't stop?

This doesn't look like a tview issue to me. You'll want to look at how to run these kind of applications in a "headless" environment.

<!-- gh-comment-id:1681099415 --> @rivo commented on GitHub (Aug 16, 2023): Something with the environment this runs in. Maybe there is no terminal? You're trying to run an interactive application. It's not going to stop unless someone hits <kbd>Ctrl</kbd>-<kbd>C</kbd>. How do you want to send that event to your application? Maybe GitHub Actions kills it because it doesn't stop? This doesn't look like a `tview` issue to me. You'll want to look at how to run these kind of applications in a "headless" environment.
Author
Owner

@zreigz commented on GitHub (Aug 18, 2023):

@digitallyserviced thanks!

<!-- gh-comment-id:1683463521 --> @zreigz commented on GitHub (Aug 18, 2023): @digitallyserviced thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#630
No description provided.