Skip to content

Commit 8879fcf

Browse files
perf: optimize test scheduling with --dist loadfile for 25% faster test runs (#157)
1 parent 7a63bfe commit 8879fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _setup:
1313

1414
# Run all tests
1515
test-all: _setup test-import
16-
{{pytest}} -n auto -m "not setup" --html=report.html --self-contained-html --cov=cortexapps_cli --cov-append --cov-report term-missing tests
16+
{{pytest}} -n auto --dist loadfile -m "not setup" --html=report.html --self-contained-html --cov=cortexapps_cli --cov-append --cov-report term-missing tests
1717

1818
# Run all tests serially - helpful to see if any tests seem to be hanging
1919
_test-all-individual: test-import

0 commit comments

Comments
 (0)