File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ DIST_BASE_URL ?= https://archive.apache.org/dist/kafka/
10
10
# The values here are taken from the 2.4.0 release.
11
11
export KAFKA_JVM_PERFORMANCE_OPTS=-server -XX :+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true -Djava.security.manager=allow
12
12
13
+ PYTESTS ?= 'test'
14
+
13
15
setup :
14
16
pip install -r requirements-dev.txt
15
17
pip install -Ue .
18
20
pylint --recursive=y --errors-only kafka test
19
21
20
22
test : build-integration
21
- pytest --durations=10 kafka test
22
-
23
- # Test using pytest directly if you want to use local python. Useful for other
24
- # platforms that require manual installation for C libraries, ie. Windows.
25
- test-local : build-integration
26
- pytest --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF $(TEST_FLAGS ) kafka test
23
+ pytest --durations=10 $(PYTESTS )
27
24
28
25
cov-local : build-integration
29
26
pytest --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka \
You can’t perform that action at this time.
0 commit comments