mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2026-04-18 05:23:32 +00:00
add tox env for obs example
add headamp script to poe tasks
This commit is contained in:
@@ -4,8 +4,7 @@ from pathlib import Path
|
||||
|
||||
|
||||
def ex_obs():
|
||||
path = Path.cwd() / "examples" / "xair_obs" / "."
|
||||
subprocess.run([sys.executable, str(path)])
|
||||
subprocess.run(["tox", "r", "-e", "obs"])
|
||||
|
||||
|
||||
def ex_sends():
|
||||
@@ -13,6 +12,11 @@ def ex_sends():
|
||||
subprocess.run([sys.executable, str(path)])
|
||||
|
||||
|
||||
def ex_headamp():
|
||||
path = Path.cwd() / "examples" / "headamp" / "."
|
||||
subprocess.run([sys.executable, str(path)])
|
||||
|
||||
|
||||
def test_xair():
|
||||
path = Path.cwd() / "tests" / "xair"
|
||||
subprocess.run(["pytest", "-v", str(path)])
|
||||
|
||||
Reference in New Issue
Block a user