mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Move run configuration templates out of conan-config into this repo.
Add extra test run configuration. CURA-8792
This commit is contained in:
parent
7b6e56287b
commit
a0f32c403d
3 changed files with 64 additions and 9 deletions
23
conanfile.py
23
conanfile.py
|
@ -1,11 +1,6 @@
|
|||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from io import StringIO
|
||||
|
||||
from platform import python_version
|
||||
|
||||
from jinja2 import Template
|
||||
|
||||
from conans import tools
|
||||
|
@ -58,16 +53,26 @@ class CuraConan(ConanFile):
|
|||
}
|
||||
|
||||
# TODO: Add unit tests (but they need a different jinja template
|
||||
_pycharm_targets = [{
|
||||
_pycharm_targets = [
|
||||
{
|
||||
"name": "cura",
|
||||
"module_name": "Cura",
|
||||
"script_name": "cura_app.py",
|
||||
}, {
|
||||
"jinja_path": ".run_templates/pycharm_cura_run.run.xml.jinja"
|
||||
},
|
||||
{
|
||||
"name": "cura_external_engine",
|
||||
"module_name": "Cura",
|
||||
"script_name": "cura_app.py",
|
||||
"parameters": "--external-backend"
|
||||
}
|
||||
"parameters": "--external-backend",
|
||||
"jinja_path": ".run_templates/pycharm_cura_run.run.xml.jinja"
|
||||
},
|
||||
{
|
||||
"name": "cura_test",
|
||||
"module_name": "Cura",
|
||||
"script_name": "run_coverage.py",
|
||||
"jinja_path": ".run_templates/pycharm_cura_test.run.xml.jinja"
|
||||
},
|
||||
]
|
||||
|
||||
# FIXME: These env vars should be defined in the runenv.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue