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:
OPOLKA Alexis OF/DSI 2026-02-26 12:21:19 +01:00
parent ac8fce18c2
commit 38fa6f1033
3 changed files with 6 additions and 3 deletions

View file

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

View file

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

View file

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