Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 44ace73

Browse files
committed
test(scripts): run same file tests individually
Running tests concurrently can cause temporary files, such as the file used to backup the commit message, to be deleted by one test but accessed by another test later on.
1 parent 9ae8784 commit 44ace73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
export PREFIX='poetry run python -m '
55
export REGEX='^(?![.]|venv).*'
66

7-
${PREFIX}pytest -n 3 --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen tests/
7+
${PREFIX}pytest -n 3 --dist=loadfile --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen tests/
88
${PREFIX}black commitizen tests --check
99
${PREFIX}isort --check-only commitizen tests
1010
${PREFIX}flake8 commitizen/ tests/

0 commit comments

Comments
 (0)