Skip to content

Commit d2d1532

Browse files
committed
Remove indirection
1 parent 0dcef26 commit d2d1532

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Makefile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,28 @@ export CI := false
2020
# Whether to generate coverage data while running tests.
2121
export COVERAGE := $(CI)
2222

23-
# Additional arguments that should be passed to py.test.
24-
PYTEST_ARGS =
25-
2623
# Variables below this line are not very interesting for getting started.
2724

2825
TEST_EXTRA_PACKAGES =
2926

30-
PYTEST = py.test $(PYTEST_ARGS)
3127
CODECOV_PATH = /tmp/codecov.sh
3228

3329
all:
3430
$(error Take a look at https://vdirsyncer.pimutils.org/en/stable/tutorial.html#installation)
3531

3632
ci-test:
3733
curl -s https://codecov.io/bash > $(CODECOV_PATH)
38-
$(PYTEST) --cov vdirsyncer --cov-append tests/unit/ tests/system/
34+
pytest --cov vdirsyncer --cov-append tests/unit/ tests/system/
3935
bash $(CODECOV_PATH) -c
4036

4137
ci-test-storage:
4238
curl -s https://codecov.io/bash > $(CODECOV_PATH)
4339
set -ex; \
4440
for server in $(DAV_SERVER); do \
45-
DAV_SERVER=$$server $(PYTEST) --cov vdirsyncer --cov-append tests/storage; \
41+
DAV_SERVER=$$server pytest --cov vdirsyncer --cov-append tests/storage; \
4642
done
4743
bash $(CODECOV_PATH) -c
4844

49-
test:
50-
$(PYTEST)
51-
5245
style:
5346
pre-commit run --all
5447
! git grep -i syncroniz */*

0 commit comments

Comments
 (0)