Skip to content

Commit f84ba16

Browse files
committed
modify
1 parent a5bd6db commit f84ba16

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/pika.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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/

0 commit comments

Comments
 (0)