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
This commit is contained in:
Martin Pitt 2021-02-02 07:20:03 +01:00
parent e88473cf0c
commit 0040d33066
2 changed files with 1 additions and 5 deletions

View File

@ -21,10 +21,6 @@ fi
# tests need cockpit's bots/ libraries # tests need cockpit's bots/ libraries
git clone --depth=1 https://github.com/cockpit-project/bots 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/./-}" export TEST_OS="${ID}-${VERSION_ID/./-}"
# HACK: upstream does not yet know about rawhide # HACK: upstream does not yet know about rawhide
if [ "$TEST_OS" = "fedora-34" ]; then if [ "$TEST_OS" = "fedora-34" ]; then

View File

@ -25,7 +25,7 @@
- libvirt-python3 - libvirt-python3
- make - make
- NetworkManager-team - NetworkManager-team
- npm - nodejs
- python3 - python3
- sssd-dbus - sssd-dbus
- targetcli - targetcli