test(tui): disable clipboard for tests

This commit is contained in:
Orhun Parmaksız 2022-01-30 16:17:23 +03:00
parent 7cb4c6a03f
commit f351b80906
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
3 changed files with 6 additions and 2 deletions

View file

@ -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

File diff suppressed because one or more lines are too long

View file

@ -195,7 +195,7 @@ fn test_tui() -> Result<()> {
"│ 1/3 │",
"╰──────────────────────────────────────╯",
"╭──────────────────────────────────────╮",
"│MSG: Copied to clipboard! ",
"│MSG: Clipboard support is not enabled",
"╰──────────────────────────────────────╯",
]),
terminal.backend(),