Skip to content

Commit 10d716c

Browse files
committed
Integration test should use a single core
1 parent 8517ac6 commit 10d716c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

template/tests/clio_test.py.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ def test_standard_file_existance(module_path, file):
4040
def test_snakemake_all_failure(module_path):
4141
"""The snakemake 'all' rule should return an error by default."""
4242
process = subprocess.run(
43-
"snakemake --cores 4", shell=True, cwd=module_path, capture_output=True
43+
"snakemake --cores 1", shell=True, cwd=module_path, capture_output=True
4444
)
4545
assert "INVALID (missing locally)" in str(process.stderr)
4646

4747

4848
def test_snakemake_integration_testing(module_path):
4949
"""Run a light-weight test simulating someone using this module."""
5050
assert subprocess.run(
51-
"snakemake --use-conda --cores 4",
51+
"snakemake --use-conda --cores 1",
5252
shell=True,
5353
check=True,
5454
cwd=module_path / "tests/integration",

0 commit comments

Comments
 (0)