|
55 | 55 | submodules: true
|
56 | 56 |
|
57 | 57 | - name: Free disk space
|
| 58 | + if: false |
58 | 59 | run: |
|
59 | 60 | bash .github/free-disk-space.sh
|
60 | 61 |
|
@@ -325,112 +326,72 @@ jobs:
|
325 | 326 | if: false
|
326 | 327 | uses: mxschmitt/action-tmate@v3
|
327 | 328 |
|
328 |
| - - name: Run tests |
| 329 | + - name: Run cpp tests |
329 | 330 | run: |
|
330 | 331 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib/x86_64-linux-gnu
|
331 |
| -
|
332 | 332 | export VINEYARD_DATA_DIR=`pwd`/gstest
|
333 | 333 | export TMPDIR="${TMPDIR:-$(dirname $(mktemp))}"
|
334 | 334 |
|
335 | 335 | rm -rf default.etcd
|
336 | 336 | rm -rf /dev/shm/etcd*
|
337 |
| - python3 test/runner.py $RUNNER_ARGS --with-cpp --with-deployment |
| 337 | + python3 test/runner.py $RUNNER_ARGS --with-cpp |
338 | 338 |
|
339 |
| - - name: Run tests with mimalloc |
340 |
| - if: ${{ steps.changes.outputs.mimalloc == 'true' }} |
| 339 | + - name: Run python tests |
341 | 340 | run: |
|
342 | 341 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib/x86_64-linux-gnu
|
343 |
| -
|
344 | 342 | export VINEYARD_DATA_DIR=`pwd`/gstest
|
345 | 343 | export TMPDIR="${TMPDIR:-$(dirname $(mktemp))}"
|
346 | 344 |
|
347 | 345 | rm -rf default.etcd
|
348 | 346 | rm -rf /dev/shm/etcd*
|
349 |
| - python3 test/runner.py $RUNNER_ARGS --allocator=mimalloc --with-cpp --with-deployment |
350 |
| -
|
351 |
| - - name: Setup tmate session |
352 |
| - if: false |
353 |
| - uses: mxschmitt/action-tmate@v3 |
| 347 | + python3 test/runner.py $RUNNER_ARGS --with-python |
354 | 348 |
|
355 |
| - - name: Run python tests |
| 349 | + - name: Run deployment tests |
356 | 350 | run: |
|
357 | 351 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib/x86_64-linux-gnu
|
358 |
| -
|
359 |
| - # enable coredump for debugging |
360 |
| - ulimit -c unlimited |
361 |
| -
|
362 |
| - export VINEYARD_DEVELOP=TRUE |
363 |
| -
|
364 | 352 | export VINEYARD_DATA_DIR=`pwd`/gstest
|
365 | 353 | export TMPDIR="${TMPDIR:-$(dirname $(mktemp))}"
|
366 | 354 |
|
367 | 355 | rm -rf default.etcd
|
368 | 356 | rm -rf /dev/shm/etcd*
|
369 |
| - python3 test/runner.py $RUNNER_ARGS --with-python --with-migration --with-deployment |
| 357 | + python3 test/runner.py $RUNNER_ARGS --with-deployment --with-migration |
370 | 358 |
|
371 |
| - if [[ ! "$RUNNER_ARGS" =~ .*"$redis".* ]]; then |
372 |
| - python3 test/runner.py $RUNNER_ARGS --with-contrib |
373 |
| - fi |
374 |
| -
|
375 |
| - - name: Run python tests with mimalloc |
376 |
| - if: ${{ steps.changes.outputs.mimalloc == 'true' }} |
| 359 | + - name: Run contrib/thirdparty tests |
| 360 | + if: false # lack of heavy dependencies like torch/tensorflow in CI |
377 | 361 | run: |
|
378 | 362 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib/x86_64-linux-gnu
|
379 |
| -
|
380 |
| - # enable coredump for debugging |
381 |
| - ulimit -c unlimited |
382 |
| -
|
383 |
| - export VINEYARD_DEVELOP=TRUE |
384 |
| -
|
385 | 363 | export VINEYARD_DATA_DIR=`pwd`/gstest
|
386 | 364 | export TMPDIR="${TMPDIR:-$(dirname $(mktemp))}"
|
387 | 365 |
|
388 | 366 | rm -rf default.etcd
|
389 | 367 | rm -rf /dev/shm/etcd*
|
390 |
| - python3 test/runner.py $RUNNER_ARGS --allocator=mimalloc --with-python --with-migration --with-deployment |
391 |
| -
|
392 |
| - if [[ ! "$RUNNER_ARGS" =~ .*"$redis".* ]]; then |
393 |
| - python3 test/runner.py $RUNNER_ARGS --allocator=mimalloc --with-contrib |
394 |
| - fi |
395 |
| -
|
396 |
| - - name: Setup tmate session |
397 |
| - if: false |
398 |
| - uses: mxschmitt/action-tmate@v3 |
| 368 | + python3 test/runner.py $RUNNER_ARGS --with-contrib |
399 | 369 |
|
400 | 370 | - name: Run I/O tests
|
401 | 371 | run: |
|
402 | 372 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib/x86_64-linux-gnu
|
403 |
| -
|
404 |
| - export VINEYARD_DEVELOP=TRUE |
405 |
| -
|
406 | 373 | export VINEYARD_DATA_DIR=`pwd`/gstest
|
407 | 374 | export TMPDIR="${TMPDIR:-$(dirname $(mktemp))}"
|
408 | 375 |
|
409 | 376 | rm -rf default.etcd
|
410 | 377 | rm -rf /dev/shm/etcd*
|
411 |
| - python3 test/runner.py $RUNNER_ARGS --with-io --with-migration |
| 378 | + python3 test/runner.py $RUNNER_ARGS --with-io |
412 | 379 |
|
413 | 380 | - name: Run FUSE tests
|
414 | 381 | run: |
|
415 | 382 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64:/usr/local/lib/x86_64-linux-gnu
|
416 |
| -
|
417 |
| - export VINEYARD_DEVELOP=TRUE |
418 | 383 | export VINEYARD_DATA_DIR=`pwd`/gstest
|
419 | 384 | export TMPDIR="${TMPDIR:-$(dirname $(mktemp))}"
|
420 | 385 |
|
421 | 386 | rm -rf default.etcd
|
422 | 387 | rm -rf /dev/shm/etcd*
|
423 | 388 | python3 test/runner.py $RUNNER_ARGS --with-fuse
|
424 | 389 |
|
425 |
| - - name: Find vineyard using CMake |
| 390 | + - name: Run CMake tests |
426 | 391 | run: |
|
427 | 392 | cmake -S test/vineyard-cmake-example -B build/vineyard-cmake-example
|
428 | 393 | cmake --build build/vineyard-cmake-example
|
429 | 394 |
|
430 |
| - - name: Setup tmate session |
431 |
| - if: false |
432 |
| - uses: mxschmitt/action-tmate@v3 |
433 |
| - |
434 | 395 | - name: Upload Coverage
|
435 | 396 | if: runner.os == 'Linux'
|
436 | 397 | uses: codecov/codecov-action@v3
|
|
0 commit comments