-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add justfile for common recipes.
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
PYTHONPATH=planning/unified/plugin:${PYTHONPATH} | ||
UP_ARIES_DEV=true # enable automatic recompilation of the server | ||
|
||
# Use the python modules of the unified planning library and test cases directly from the git submodules of this repository | ||
PYTHONPATH=planning/unified/deps/unified-planning/up_test_cases:${PYTHONPATH} | ||
PYTHONPATH=planning/unified/deps/unified-planning:${PYTHONPATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ examples/sat/instances/*.cnf | |
__pycache__/ | ||
*.profraw | ||
lcov.info | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
set dotenv-load := true | ||
|
||
|
||
ci: ci-up-solve ci-up-val | ||
|
||
# Run planning tests for UP integration | ||
ci-up-solve: | ||
python3 planning/unified/deps/unified-planning/up_test_cases/report.py aries | ||
|
||
# Run validation tests for UP integration | ||
ci-up-val: | ||
python3 planning/unified/deps/unified-planning/up_test_cases/report.py aries-val | ||
|
||
# Solve a UP test case | ||
up-solve problem: | ||
python3 planning/unified/scripts/cli.py {{problem}} | ||
|
||
# Export a UP test case to a protobuf binary file (/tmp/problem.upp) | ||
up-export problem: | ||
python3 planning/unified/scripts/cli.py {{problem}} -m dump |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters