diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86ca0b445..67e8dba88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pytest pytest-cov pytest-shell + pip install pytest pytest-cov pytest-shell pytest-shell-utilities python setup.py install - name: Install Python Poetry run: | diff --git a/tests/utils_test.py b/tests/utils_test.py index a8dd04177..72a5dc09e 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -22,6 +22,8 @@ def utils_test_algo(argsstr="--help"): del exp torch.cuda.empty_cache() gc.collect() + ret = shell.run("rm", "-rf zoutput") + assert ret.returncode == 0 def assert_frame_not_equal(*args, **kwargs):