Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Commit 687cb57

Browse files
authored
test: ✨ Update make watch to run changed test files first (#20)
1 parent 7f7d86a commit 687cb57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test: lint ## Run tests and generate coverage report.
4545

4646
.PHONY: watch
4747
watch: ## Run tests on every change.
48-
ls **/**.py | entr $(ENV_PREFIX)pytest -s -vvv -l --tb=long --maxfail=1 tests/
48+
ls **/**.py | entr $(ENV_PREFIX)pytest --picked=first -s -vvv -l --tb=long --maxfail=1 tests/
4949

5050
.PHONY: clean
5151
clean: ## Clean unused files.

requirements-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ codecov
99
mypy
1010
gitchangelog
1111
mkdocs
12+
pytest-picked

0 commit comments

Comments
 (0)