diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 1e0d1c42e7325ca3729e3bc41bf8db21b661ab20..4599a0f8dad942b08f4f0b4411a0a69d2ee5865e 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -132,4 +132,4 @@ jobs:
         timeout-minutes: 25
       - name: Cleanup
         if: ${{ always() }}
-        run: rm -rf "${{ github.workspace }}"
+        run: rm -rf build modules
diff --git a/ci/test.sh b/ci/test.sh
index ca6ea80d48408bcd17ac95baa2f0120b9f57524a..5a20de51b4f59c6c82ab97fc8bdabc5a0334e1b8 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -15,8 +15,10 @@ mkdir -p $BUILD_DIR
 
 function get_py_client() {
     git clone -b v2.0 https://github.com/vesoft-inc/nebula-python.git
-    cd nebula-python
+    pushd nebula-python
     python3 setup.py install --user
+    popd
+    rm -rf nebula-python
 }
 
 function prepare() {
diff --git a/nebula-python b/nebula-python
deleted file mode 160000
index 7dc78785b7f3d69091711e0e8f63c3bdec39d6c1..0000000000000000000000000000000000000000
--- a/nebula-python
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 7dc78785b7f3d69091711e0e8f63c3bdec39d6c1