lotabout / tuikit

Tool kit for writing TUI applications in Rust.
MIT License
104 stars 28 forks source link

[ci] use github action for test & deploy #17

Closed lotabout closed 4 years ago

lotabout commented 4 years ago

Unfortunately the Github Action approach would not work.

The tests would require a TTY while what we got from Github Action environment was:

thread 'raw::test::test_into_raw_mode' panicked at 'called Result::unwrap() on an Err value: Os { code: 25, kind: Other, message: "Inappropriate ioctl for device" }', src/libcore/result.rs:1165:5 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

Some further search on https://github.com/actions/starter-workflows/issues/114 indicates that currently there is no way to get a TTY instead of using a docker container.

Give up for now.