Skip to content

Commit 79f832f

Browse files
committed
build: clean up the Makefile a bit
1 parent 40131f0 commit 79f832f

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

Makefile

+5-13
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,13 @@ $(CSS): $(SCSS)
4444
pysassc --style=compact $(SCSS) $@
4545
cp $@ tests/gold/html/styled
4646

47-
LINTABLE = coverage tests igor.py setup.py __main__.py
48-
4947
lint: ## Run linters and checkers.
5048
tox -q -e lint
5149

52-
test:
53-
tox -q -e py39 $(ARGS)
54-
55-
PYTEST_SMOKE_ARGS = -n 6 -m "not expensive" --maxfail=3 $(ARGS)
50+
PYTEST_SMOKE_ARGS = -n auto -m "not expensive" --maxfail=3 $(ARGS)
5651

5752
smoke: ## Run tests quickly with the C tracer in the lowest supported Python versions.
58-
COVERAGE_NO_PYTRACER=1 tox -q -e py39 -- $(PYTEST_SMOKE_ARGS)
59-
60-
pysmoke: ## Run tests quickly with the Python tracer in the lowest supported Python versions.
61-
COVERAGE_NO_CTRACER=1 tox -q -e py39 -- $(PYTEST_SMOKE_ARGS)
62-
63-
metasmoke:
64-
COVERAGE_NO_PYTRACER=1 ARGS="-e py39" make clean metacov metahtml
53+
COVERAGE_NO_PYTRACER=1 tox -q -e py36 -- $(PYTEST_SMOKE_ARGS)
6554

6655
# Coverage measurement of coverage.py itself (meta-coverage). See metacov.ini
6756
# for details.
@@ -72,6 +61,9 @@ metacov: ## Run meta-coverage, measuring ourself.
7261
metahtml: ## Produce meta-coverage HTML reports.
7362
python igor.py combine_html
7463

64+
metasmoke:
65+
COVERAGE_NO_PYTRACER=1 ARGS="-e py39" make clean metacov metahtml
66+
7567
PIP_COMPILE = pip-compile --upgrade --allow-unsafe
7668
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
7769
upgrade: ## update the *.pip files with the latest packages satisfying *.in files

howto.txt

-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@
9696
- pip install -r requirements/dev.pip
9797
- $ tox
9898

99-
- Testing on Linux:
100-
- $ make test_linux
101-
10299
- For complete coverage testing:
103100

104101
$ make metacov

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
33

44
[tool:pytest]
5-
addopts = -q -n3 --strict-markers --force-flaky --no-flaky-report -rfeX --failed-first
5+
addopts = -q -n auto --strict-markers --force-flaky --no-flaky-report -rfeX --failed-first
66
python_classes = *Test
77
markers =
88
expensive: too slow to run during "make smoke"

0 commit comments

Comments
 (0)