From dba2f9e0af735fade9e2160c33bdff98ddc7a946 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Mon, 22 Jan 2024 11:28:41 +0100 Subject: [PATCH] Pin number of processes used in Python tests to 4 (#975) Otherwise, some machines get stack overflow errors when running Python tests --- pixi.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixi.toml b/pixi.toml index c042758da..3a3fd6447 100644 --- a/pixi.toml +++ b/pixi.toml @@ -75,9 +75,9 @@ build = { "cmd" = "julia --project build.jl --app --lib", cwd = "build/create_bi remove-artifacts = "julia --eval 'rm(joinpath(Base.DEPOT_PATH[1], \"artifacts\"), force=true, recursive=true)'" # Test -test-ribasim-python = "pytest --numprocesses=auto python/ribasim/tests" +test-ribasim-python = "pytest --numprocesses=4 python/ribasim/tests" test-ribasim-api = "pytest --basetemp=python/ribasim_api/tests/temp --junitxml=report.xml python/ribasim_api/tests" -test-ribasim-cli = "pytest --numprocesses=auto --basetemp=build/ribasim_cli/tests/temp --junitxml=report.xml build/ribasim_cli/tests" +test-ribasim-cli = "pytest --numprocesses=4 --basetemp=build/ribasim_cli/tests/temp --junitxml=report.xml build/ribasim_cli/tests" test-ribasim-core = { cmd = "julia --project=core --eval 'using Pkg; Pkg.test()'", depends_on = [ "generate-testmodels", ] }