Skip to content

Commit

Permalink
Pin number of processes used in Python tests to 4 (#975)
Browse files Browse the repository at this point in the history
Otherwise, some machines get stack overflow errors when running Python
tests
  • Loading branch information
Hofer-Julian authored Jan 22, 2024
1 parent 605e5b9 commit dba2f9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
] }
Expand Down

0 comments on commit dba2f9e

Please sign in to comment.