mirror of
https://github.com/orhun/systeroid
synced 2024-07-21 02:14:36 +00:00
test(tui): disable clipboard for tests
This commit is contained in:
parent
7cb4c6a03f
commit
f351b80906
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -100,7 +100,9 @@ jobs:
|
|||
|
||||
- name: Run tests [default]
|
||||
run: |
|
||||
NO_COLOR=1 cargo tarpaulin --out Xml --verbose
|
||||
NO_COLOR=1 cargo tarpaulin \
|
||||
--no-default-features \
|
||||
--out Xml --verbose
|
||||
mv cobertura.xml test-output.xml
|
||||
|
||||
- name: Run tests [live]
|
||||
|
@ -108,6 +110,7 @@ jobs:
|
|||
cp .github/fixtures/sysctl.conf systeroid/
|
||||
sudo env "PATH=$PATH" "HOME=$HOME" NO_COLOR=1 \
|
||||
cargo tarpaulin \
|
||||
--no-default-features \
|
||||
--features live-tests \
|
||||
--out Xml --verbose \
|
||||
-- "test_systeroid"
|
||||
|
|
1
cobertura.xml
Normal file
1
cobertura.xml
Normal file
File diff suppressed because one or more lines are too long
|
@ -195,7 +195,7 @@ fn test_tui() -> Result<()> {
|
|||
"│ 1/3 │",
|
||||
"╰──────────────────────────────────────╯",
|
||||
"╭──────────────────────────────────────╮",
|
||||
"│MSG: Copied to clipboard! │",
|
||||
"│MSG: Clipboard support is not enabled │",
|
||||
"╰──────────────────────────────────────╯",
|
||||
]),
|
||||
terminal.backend(),
|
||||
|
|
Loading…
Reference in a new issue