From 4a935b556e9ae7a563685a7d977185ce15263b90 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 17 Aug 2023 13:23:11 +0200 Subject: [PATCH] simplified noxfile --- noxfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/noxfile.py b/noxfile.py index 6a5f3bd..163db49 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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)