Skip to content

Commit c58255c

Browse files
Increase number of CPUs in CI
1 parent f25bf4c commit c58255c

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,17 @@ include:
1313
- /ci/jobs/publish-docs.yml
1414
- /ci/jobs/tag.yml
1515

16-
docs:
17-
variables:
18-
EXTRA_MODULES: archive/2021-05:py-mpi4py
19-
20-
lint:
21-
variables:
22-
EXTRA_MODULES: archive/2021-05:py-mpi4py
16+
variables:
17+
EXTRA_MODULES: archive/2021-05:py-mpi4py
2318

2419
py36:
2520
variables:
26-
EXTRA_MODULES: archive/2021-05:py-mpi4py
21+
bb5_cpus_per_task: 6
2722

2823
py37:
2924
variables:
30-
EXTRA_MODULES: archive/2021-05:py-mpi4py
25+
bb5_cpus_per_task: 6
3126

3227
py38:
3328
variables:
34-
EXTRA_MODULES: archive/2021-05:py-mpi4py
29+
bb5_cpus_per_task: 6

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ testdeps =
77
pytest-benchmark
88
pytest-cov
99
pytest-html
10+
pytest-xdist
1011

1112
[tox]
1213
envlist =
@@ -24,6 +25,7 @@ commands_pre =
2425
ipcluster start -n 2 --daemonize --log-to-file --cluster-id={[base]name}_{envname} --debug
2526
commands =
2627
pytest \
28+
-n 2 \
2729
--basetemp={envtmpdir} \
2830
--cov={[base]name} \
2931
--cov-branch \

0 commit comments

Comments
 (0)