File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ jobs:
178178 - name : Checkout
179179 uses : actions/checkout@v4
180180 with :
181- fetch-depth : 0
181+ fetch-depth : 1
182182
183183 - name : Configure CMake
184184 run : |
@@ -222,6 +222,10 @@ jobs:
222222 working-directory : ${{ github.workspace }}
223223 run : ./pikatests.sh all clean
224224
225+ - name : Cleanup artifacts
226+ working-directory : ${{ github.workspace }}/build
227+ run : rm -rf ./db ./log ./pika_log ./dump ./*.log || true
228+
225229 - name : Start codis, pika master and pika slave
226230 working-directory : ${{ github.workspace }}/build
227231 run : |
@@ -233,8 +237,6 @@ jobs:
233237 - name : Run Go E2E Tests
234238 working-directory : ${{ github.workspace }}/build
235239 run : |
236- echo "Cleaning up previous test data..."
237- rm -rf ./db ./log ./pika_log ./dump ./*.log
238240 cd ../tools/pika_keys_analysis/
239241 go test -v ./...
240242 cd ../../tests/integration/
You can’t perform that action at this time.
0 commit comments