From 5b6232a0cf9c31fa81441994ac1a68f01f53e26f Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Wed, 18 Oct 2023 17:14:49 +0200 Subject: [PATCH] pixi: Update test-ribasim-api (#676) --- .gitignore | 1 + pixi.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fe4c83a5c..c8380cc6c 100644 --- a/.gitignore +++ b/.gitignore @@ -157,4 +157,5 @@ dmypy.json /.luarc.json build/ribasim_cli/tests/temp/ +python/ribasim_api/tests/temp/ report.xml diff --git a/pixi.toml b/pixi.toml index ba2a63aae..103eeb865 100644 --- a/pixi.toml +++ b/pixi.toml @@ -64,7 +64,7 @@ build-libribasim = { cmd = "cd build/create_binaries && julia --project create_l build = { depends_on = ["build-ribasim-cli", "build-libribasim"] } # Test test-ribasim-python = "pytest --numprocesses=auto python/ribasim/tests" -test-ribasim-api = "pytest --numprocesses=auto python/ribasim_api/tests" +test-ribasim-api = "pytest --numprocesses=auto --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-core = { cmd = "julia --project=core --eval 'using Pkg; Pkg.instantiate(); Pkg.test()'", depends_on = [ "generate-testmodels",