From bc8f4a3613cbaa156bcc8e6426e81cdd688c7497 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Tue, 19 Sep 2023 09:38:11 +0200 Subject: [PATCH] Minor improvements for pixi tasks (#605) Also remove redundant gitignore line --- .gitignore | 1 - pixi.toml | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d44e30bda..bfd2e6525 100644 --- a/.gitignore +++ b/.gitignore @@ -157,4 +157,3 @@ dmypy.json /.luarc.json build/ribasim_cli/tests/temp/ report.xml -generated_testmodels diff --git a/pixi.toml b/pixi.toml index 1eb8e300d..c38874df5 100644 --- a/pixi.toml +++ b/pixi.toml @@ -55,11 +55,12 @@ test-ribasim-python = "pytest --numprocesses=auto python/ribasim/tests" test-ribasim-python-cov = "pytest --numprocesses=auto --cov=ribasim --cov-report=xml python/ribasim/tests" test-ribasim-api = "pytest --numprocesses=auto 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 = "julia --project=core --eval 'using Pkg; Pkg.instantiate(); Pkg.test()'" +test-ribasim-core = { cmd = "julia --project=core --eval 'using Pkg; Pkg.instantiate(); Pkg.test()'", depends_on = [ + "generate-testmodels", +] } generate-testmodels = "python utils/generate-testmodels.py" tests = { depends_on = [ "lint", - "generate-testmodels", "test-ribasim-python", "test-ribasim-core", ] }