From 73ce9dcbaa1b158d1ff47a3ad2d174ed3aac5e08 Mon Sep 17 00:00:00 2001 From: Zhangmei Li Date: Tue, 8 Feb 2022 21:31:54 +0800 Subject: [PATCH] split unit/core/api tests into 3 stages Change-Id: Ic74c0ea690f2b48f5a6d80e6c02f928ac836ad85 --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1ed82f18e..dad6487eb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,13 +70,19 @@ jobs: #mysql user: 'root' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too #mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user" - - name: Run test + - name: Run unit test + run: | + $TRAVIS_DIR/run-unit-test.sh $BACKEND + + - name: Run core test run: | $TRAVIS_DIR/run-core-test.sh $BACKEND + + - name: Run api test + run: | $TRAVIS_DIR/run-api-test.sh $BACKEND $REPORT_DIR - $TRAVIS_DIR/run-unit-test.sh $BACKEND - - name: Run Raft test + - name: Run raft test if: ${{ env.BACKEND == 'rocksdb' }} run: | $TRAVIS_DIR/run-api-test-for-raft.sh $BACKEND $REPORT_DIR