🔨 Revert back to previosu metho

This commit is contained in:
zencode 2021-04-03 20:09:25 +02:00
parent 62eb14924c
commit 274635531a
2 changed files with 6 additions and 6 deletions

View File

@ -105,17 +105,17 @@ image-testsuite:
test:
# Run tests and print output.
-rm -rf kivy/tests/build
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report term-missing --cov=kivy kivy/tests
env KIVY_NO_ARGS=1 $(PYTEST) kivy/tests
test-to-txt:
# Run tests and save output to 'coverage.txt'.
# Run tests with missing line stats and save output to 'coverage.txt'.
-rm -rf kivy/tests/build
env KIVY_NO_ARGS=1 $(PYTEST) kivy/tests > coverage.txt
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report term-missing --cov=kivy kivy/tests > coverage.txt
test-to-xml:
# Run tests and save output to 'coverage.xml'.
# Run tests with missing line stats and save output to 'coverage.xml'.
-rm -rf kivy/tests/build
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report xml kivy/tests
env KIVY_NO_ARGS=1 $(PYTEST) --cov-report xml --cov-report term-missing --cov=kivy kivy/tests
cover:
# Note: This option does not currently support the missing lines analysis.

View File

@ -11,4 +11,4 @@ requires = [
]
[tool.pytest.ini_options]
addopts = "--benchmark-skip --benchmark-warmup=on --benchmark-warmup-iterations=5 --benchmark-disable-gc --benchmark-name=short --benchmark-sort=mean --benchmark-group-by=fullfunc --benchmark-storage=.benchmarks-kivy --benchmark-save=kivy --cov-report term-missing --cov=kivy"
addopts = "--benchmark-skip --benchmark-warmup=on --benchmark-warmup-iterations=5 --benchmark-disable-gc --benchmark-name=short --benchmark-sort=mean --benchmark-group-by=fullfunc --benchmark-storage=.benchmarks-kivy --benchmark-save=kivy"