diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-20 09:11:37 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-23 08:00:39 +0100 |
commit | 6d701d2fea07198807351c7c4856001c0f1ebffb (patch) | |
tree | 9304d54d6ee9c9e7e28f11fd32a39e91ee6e8126 /manage | |
parent | 96450b17d4304a740c0af934cbb841de67178d94 (diff) | |
download | searxng-6d701d2fea07198807351c7c4856001c0f1ebffb.tar.gz searxng-6d701d2fea07198807351c7c4856001c0f1ebffb.zip |
[fix] ensure that test.pyright installs pyright
nodejs.ensure only sets up NVM if there isn't a system-wide
installation of Node that matches our NODE_MINIMUM_VERSION.
The ubuntu image in the CI comes with an up to date node version,
so pyright from .nvm_packages is never installed.
This commit fixes this by introducing a package.json file.
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -687,9 +687,10 @@ test.pylint() { test.pyright() { build_msg TEST "[pyright] static type check of python sources" nodejs.ensure + npm install # We run Pyright in the virtual environment because Pyright # executes "python" to determine the Python version. - pyenv.cmd pyright -p pyrightconfig-ci.json + pyenv.cmd npx --no-install pyright -p pyrightconfig-ci.json dump_return $? } |