Code Repositories xandikos / ee6dcc7
Split out coverage from test runs. Jelmer Vernooń≥ 2 years ago
3 changed file(s) with 7 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1717 - make style
1818 - make coverage
1919 - make coverage-litmus
20 - make check-vdirsyncer
20 - make coverage-vdirsyncer
2121 after_success:
2222 - codecov
2424 check-vdirsyncer:
2525 ./compat/xandikos-vdirsyncer.sh
2626
27 coverage-vdirsyncer:
28 PYTEST_ARGS="--cov-config $(shell pwd)/.coveragerc --cov-append --cov $(shell pwd)/xandikos" ./compat/xandikos-vdirsyncer.sh
29 $(COVERAGE) combine -a compat/vdirsyncer/.coverage
30
2731 check-caldavtester:
2832 cd compat && ./all.sh
2933
3034 check-all: check check-vdirsyncer check-litmus
3135
32 coverage-all: coverage coverage-litmus
36 coverage-all: coverage coverage-litmus coverage-vdirsyncer
3337
3438 coverage:
3539 $(COVERAGE_RUN) --source=xandikos -m unittest $(TESTSUITE)
2323 fi
2424 make \
2525 COVERAGE=true \
26 PYTEST_ARGS="--cov-config $REPO_DIR/.coveragerc --cov-append --cov $REPO_DIR/xandikos tests/storage/dav/" \
26 PYTEST_ARGS="${PYTEST_ARGS} tests/storage/dav/" \
2727 DAV_SERVER=xandikos \
2828 install-dev install-test test
29
30 cd "$REPO_DIR"
31 coverage combine compat/vdirsyncer/.coverage .