From ebf286d7d5614a64b3d7d075dc21ae777f595372 Mon Sep 17 00:00:00 2001 From: Peter Saveliev Date: Sun, 19 Mar 2023 11:40:56 +0000 Subject: [PATCH] ci: cleanup build after nox lab session Bug-Url: https://github.com/svinota/pyroute2/issues/1076 --- noxfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/noxfile.py b/noxfile.py index 6f32cd900..b4f87d38f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -129,6 +129,7 @@ def setup_venv_minimal(session, config): session.run( 'mv', '-f', '.init.py.orig', 'pyroute2/__init__.py', external=True ) + session.run('rm', '-rf', 'build', external=True) tmpdir = os.path.abspath(session.create_tmp()) session.run('cp', '-a', 'lab', tmpdir, external=True) session.run('cp', '-a', 'tests', tmpdir, external=True)