mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Remove indirection
This commit is contained in:
parent
0dcef26b9d
commit
d2d1532883
1 changed files with 2 additions and 9 deletions
11
Makefile
11
Makefile
|
|
@ -20,14 +20,10 @@ export CI := false
|
||||||
# Whether to generate coverage data while running tests.
|
# Whether to generate coverage data while running tests.
|
||||||
export COVERAGE := $(CI)
|
export COVERAGE := $(CI)
|
||||||
|
|
||||||
# Additional arguments that should be passed to py.test.
|
|
||||||
PYTEST_ARGS =
|
|
||||||
|
|
||||||
# Variables below this line are not very interesting for getting started.
|
# Variables below this line are not very interesting for getting started.
|
||||||
|
|
||||||
TEST_EXTRA_PACKAGES =
|
TEST_EXTRA_PACKAGES =
|
||||||
|
|
||||||
PYTEST = py.test $(PYTEST_ARGS)
|
|
||||||
CODECOV_PATH = /tmp/codecov.sh
|
CODECOV_PATH = /tmp/codecov.sh
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
@ -35,20 +31,17 @@ all:
|
||||||
|
|
||||||
ci-test:
|
ci-test:
|
||||||
curl -s https://codecov.io/bash > $(CODECOV_PATH)
|
curl -s https://codecov.io/bash > $(CODECOV_PATH)
|
||||||
$(PYTEST) --cov vdirsyncer --cov-append tests/unit/ tests/system/
|
pytest --cov vdirsyncer --cov-append tests/unit/ tests/system/
|
||||||
bash $(CODECOV_PATH) -c
|
bash $(CODECOV_PATH) -c
|
||||||
|
|
||||||
ci-test-storage:
|
ci-test-storage:
|
||||||
curl -s https://codecov.io/bash > $(CODECOV_PATH)
|
curl -s https://codecov.io/bash > $(CODECOV_PATH)
|
||||||
set -ex; \
|
set -ex; \
|
||||||
for server in $(DAV_SERVER); do \
|
for server in $(DAV_SERVER); do \
|
||||||
DAV_SERVER=$$server $(PYTEST) --cov vdirsyncer --cov-append tests/storage; \
|
DAV_SERVER=$$server pytest --cov vdirsyncer --cov-append tests/storage; \
|
||||||
done
|
done
|
||||||
bash $(CODECOV_PATH) -c
|
bash $(CODECOV_PATH) -c
|
||||||
|
|
||||||
test:
|
|
||||||
$(PYTEST)
|
|
||||||
|
|
||||||
style:
|
style:
|
||||||
pre-commit run --all
|
pre-commit run --all
|
||||||
! git grep -i syncroniz */*
|
! git grep -i syncroniz */*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue