File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -20,35 +20,28 @@ export CI := false
20
20
# Whether to generate coverage data while running tests.
21
21
export COVERAGE := $(CI )
22
22
23
- # Additional arguments that should be passed to py.test.
24
- PYTEST_ARGS =
25
-
26
23
# Variables below this line are not very interesting for getting started.
27
24
28
25
TEST_EXTRA_PACKAGES =
29
26
30
- PYTEST = py.test $(PYTEST_ARGS )
31
27
CODECOV_PATH = /tmp/codecov.sh
32
28
33
29
all :
34
30
$(error Take a look at https://vdirsyncer.pimutils.org/en/stable/tutorial.html#installation)
35
31
36
32
ci-test :
37
33
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/
39
35
bash $(CODECOV_PATH ) -c
40
36
41
37
ci-test-storage :
42
38
curl -s https://codecov.io/bash > $(CODECOV_PATH )
43
39
set -ex; \
44
40
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; \
46
42
done
47
43
bash $(CODECOV_PATH ) -c
48
44
49
- test :
50
- $(PYTEST )
51
-
52
45
style :
53
46
pre-commit run --all
54
47
! git grep -i syncroniz * /*
You can’t perform that action at this time.
0 commit comments