add tox env for obs example

add headamp script to poe tasks
This commit is contained in:
2025-01-15 10:22:46 +00:00
parent 7ede9b1ef3
commit 1ada889135
2 changed files with 16 additions and 3 deletions

View File

@@ -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)])