Skip to content

Commit c0be697

Browse files
author
Axel Dahlberg
committed
Updated Makefile
1 parent 789ab4e commit c0be697

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ PYTHON = python3
22
PIP = pip3
33
CQC_DIR = cqc
44
EXAMPLES = examples
5+
TESTS = tests
56

67
clean: _clear_pyc _clear_build
78

89
_clear_pyc:
910
@find . -name '*.pyc' -delete
1011

1112
lint:
12-
@${PYTHON} -m flake8 ${CQC_DIR} ${EXAMPLES}
13+
@${PYTHON} -m flake8 ${CQC_DIR} ${EXAMPLES} ${TESTS}
1314

1415
python-deps:
1516
@cat requirements.txt | xargs -n 1 -L 1 $(PIP) install
@@ -18,9 +19,9 @@ _verified:
1819
@echo "CQC-Python is verified!"
1920

2021
tests:
21-
@${PYTHON} -m pytest tests
22+
@${PYTHON} -m pytest ${TESTS}
2223

23-
verify: clean python-deps lint _verified
24+
verify: clean python-deps lint tests _verified
2425

2526
_remove_build:
2627
@rm -f -r build

0 commit comments

Comments
 (0)