Skip to content

Commit 45c5ade

Browse files
committed
Add --dist=loadscope in "pytest" CI workflow
1 parent 84a1e19 commit 45c5ade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pytest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
138138
version_string = "${{ matrix.version.upstream }}"
139139
140-
if version_string != "main":
140+
if version_string != "main":
141141
v, result = parse(version_string), []
142142
for condition, dependency in (
143143
(v <= Version("v3.7.0"), "genno < 1.25"), # Upstream versions < 3.8.0 import genno.computations, removed in 1.25.0 (#156)
@@ -174,7 +174,7 @@ jobs:
174174
-m "not (ece_db or snapshot)" \
175175
--color=yes --durations=20 -rA --verbose \
176176
--cov-report=term-missing --cov-report=xml \
177-
--numprocesses=auto \
177+
--numprocesses=auto --dist=loadscope \
178178
--local-cache --jvmargs="-Xmx6G"
179179
180180
- name: Upload test coverage to Codecov.io

0 commit comments

Comments
 (0)