From 0040d3306659ddf22612bb9bbe002166399bacc8 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 2 Feb 2021 07:20:03 +0100 Subject: [PATCH] tests: Drop npm The necessary NPM modules for testing are part of the release tarball since Cockpit 237: https://github.com/cockpit-project/cockpit/commit/c00710475 --- tests/run-test.sh | 4 ---- tests/tests.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/run-test.sh b/tests/run-test.sh index 8d80742..4630a42 100755 --- a/tests/run-test.sh +++ b/tests/run-test.sh @@ -21,10 +21,6 @@ fi # tests need cockpit's bots/ libraries git clone --depth=1 https://github.com/cockpit-project/bots -# only install a subset to save time/space -rm package.json package-lock.json # otherwise the command below installs *everything*, argh -npm install axe-core chrome-remote-interface sizzle - export TEST_OS="${ID}-${VERSION_ID/./-}" # HACK: upstream does not yet know about rawhide if [ "$TEST_OS" = "fedora-34" ]; then diff --git a/tests/tests.yml b/tests/tests.yml index faadcb9..284da4c 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -25,7 +25,7 @@ - libvirt-python3 - make - NetworkManager-team - - npm + - nodejs - python3 - sssd-dbus - targetcli