|
|
|
@ -46,16 +46,16 @@ def tests(session):
@@ -46,16 +46,16 @@ def tests(session):
|
|
|
|
|
|
|
|
|
|
@nox.session(python=["3.10", "3.11"]) |
|
|
|
|
@nox.parametrize( |
|
|
|
|
("repo", "test_dir"), |
|
|
|
|
"repo", |
|
|
|
|
[ |
|
|
|
|
("https://git.sgbio.de/Safeguard/mbp_hyb_calls", "tests"), |
|
|
|
|
"https://git.sgbio.de/Safeguard/mbp_hyb_calls", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
def downstream(session, repo, test_dir): |
|
|
|
|
def downstream(session, repo): |
|
|
|
|
tmpdir = RepoCache.clone(session, repo) |
|
|
|
|
|
|
|
|
|
session.install(".") |
|
|
|
|
session.install(f"{tmpdir}[test]") |
|
|
|
|
|
|
|
|
|
test_path = pathlib.Path(tmpdir) / test_dir |
|
|
|
|
test_path = pathlib.Path(tmpdir) / "tests" |
|
|
|
|
session.run("pytest", test_path) |
|
|
|
|