mirror of
https://github.com/denisidoro/navi.git
synced 2026-07-18 00:54:58 +00:00
feat: Update the current integration tests to ignore the tldr integration
The current tldr-pages integration is too flaky and doesn't represent a mature/robust way of interacting with the tldr project, the integration tests have been disabled until we develop a robust way of interacting with the project Signed-off-by: OPOLKA Alexis OF/DSI <alexis.opolka@orange.com>
This commit is contained in:
parent
ac8fce18c2
commit
38fa6f1033
3 changed files with 6 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
- name: Install fzf
|
||||
run: git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf; yes | ~/.fzf/install;
|
||||
|
||||
- name: Install tealdeer
|
||||
- name: Install the official tldr client
|
||||
run: sudo npm install -g tldr
|
||||
|
||||
- name: Run bash tests
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ pub fn call(query: &str) -> Result<Vec<String>> {
|
|||
Ok(x) => x,
|
||||
Err(_) => {
|
||||
let msg = format!(
|
||||
"navi was unable to call tldr.
|
||||
"navi was unable to call the tldr client.
|
||||
Make sure tldr is correctly installed.
|
||||
|
||||
Note:
|
||||
|
|
|
|||
|
|
@ -162,9 +162,12 @@ test::run "elvish" _navi_widget "elvish"
|
|||
test::run "nu" _navi_widget "nushell"
|
||||
|
||||
test::set_suite "3rd party"
|
||||
test::run "tldr" _navi_tldr
|
||||
test::run "cheatsh" _navi_cheatsh
|
||||
|
||||
## Disabled test under further work is done to re-establish a correct integration with the tdlr-pages
|
||||
## project.
|
||||
# test::run "tldr" _navi_tldr
|
||||
|
||||
test::set_suite "integration"
|
||||
test::run "welcome->pwd" _integration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue