diff --git a/Makefile b/Makefile index c4f66fa7..7a7afd72 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ aptdeps: python3-requests-unixsocket python3-jsonschema python3-apport \ python3-bson xorriso isolinux python3-aiohttp cloud-init ssh-import-id \ curl jq build-essential python3-pytest python3-async-timeout \ - language-selector-common fuseiso + language-selector-common fuseiso python3-pytest-xdist .PHONY: install_deps install_deps: aptdeps gitdeps @@ -88,7 +88,7 @@ unit: gitdeps .PHONY: api api: gitdeps - $(PYTHON) -m pytest subiquity/tests/api + $(PYTHON) -m pytest -n auto subiquity/tests/api .PHONY: integration integration: gitdeps diff --git a/scripts/installdeps.sh b/scripts/installdeps.sh index 5bee708d..515a823d 100755 --- a/scripts/installdeps.sh +++ b/scripts/installdeps.sh @@ -11,7 +11,7 @@ ConditionPathExists=/dev/zfs EOF cp -r /etc/systemd/system/zfs-mount.service.d/ /etc/systemd/system/zfs-share.service.d/ systemctl daemon-reload -apt-get install -o APT::Get::Always-Include-Phased-Updates=true -y --no-install-recommends libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libsystemd-dev python3-distutils-extra pkg-config python3.5 python3-pip git lsb-release python3-setuptools gcc python3-dev python3-wheel pep8 python3-pyflakes python3-bson make curl jq build-essential python3-pytest python3-async-timeout language-selector-common +apt-get install -o APT::Get::Always-Include-Phased-Updates=true -y --no-install-recommends libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libsystemd-dev python3-distutils-extra pkg-config python3.5 python3-pip git lsb-release python3-setuptools gcc python3-dev python3-wheel pep8 python3-pyflakes python3-bson make curl jq build-essential python3-pytest python3-async-timeout language-selector-common python3-pytest-xdist pip3 install -r requirements.txt make gitdeps