Skip to content

Commit

Permalink
Minor improvements for pixi tasks (#605)
Browse files Browse the repository at this point in the history
Also remove redundant gitignore line
  • Loading branch information
Hofer-Julian authored Sep 19, 2023
1 parent ccd505b commit bc8f4a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,3 @@ dmypy.json
/.luarc.json
build/ribasim_cli/tests/temp/
report.xml
generated_testmodels
5 changes: 3 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
] }
Expand Down

0 comments on commit bc8f4a3

Please sign in to comment.