diff --git a/.builds/tests-release.yaml b/.builds/tests-release.yaml index 9766b50..793c044 100644 --- a/.builds/tests-release.yaml +++ b/.builds/tests-release.yaml @@ -18,7 +18,7 @@ tasks: - setup: | sudo systemctl start docker cd vdirsyncer - make -e install-dev -e install-style + make -e install-dev -e install-docs - test: | cd vdirsyncer # Non-system python is used for packages: diff --git a/Makefile b/Makefile index ca7051d..632d319 100644 --- a/Makefile +++ b/Makefile @@ -60,9 +60,6 @@ ci-test-storage: test: $(PYTEST) -install-style: install-docs install-dev - pip install pre-commit - style: pre-commit run --all ! git grep -i syncroniz */* @@ -87,6 +84,7 @@ install-dev: pip install -U pip setuptools wheel pip install -e . pip install -Ur test-requirements.txt $(TEST_EXTRA_PACKAGES) + pip install pre-commit [ "$(ETESYNC_TESTS)" = "false" ] || pip install -Ue .[etesync] set -xe && if [ "$(REQUIREMENTS)" = "minimal" ]; then \ pip install -U --force-reinstall $$(python setup.py --quiet minimal_requirements); \