From ff186a5bc805cbaa6d82e66bae05765a21dd731d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9B=A7=E5=9B=A7?= Date: Thu, 14 Mar 2024 10:32:54 +0800 Subject: [PATCH] Add shell tests to CI (#3039) --- .github/workflows/ci-workflow.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index dac5b9a762..6c6a6fff33 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -417,7 +417,8 @@ jobs: macos-build-test: name: apple clang build & test - needs: [clang-formatting-check, sanity-checks, rustfmt-check, python-lint-check] + needs: + [clang-formatting-check, sanity-checks, rustfmt-check, python-lint-check] runs-on: self-hosted-mac-x64 env: NUM_THREADS: 32 @@ -487,3 +488,21 @@ jobs: ulimit -n 10240 source /Users/runner/.cargo/env cargo build --locked --features arrow + + shell-test: + name: shell test + runs-on: ubuntu-latest + needs: [clang-formatting-check, sanity-checks] + env: + WERROR: 0 + steps: + - uses: actions/checkout@v3 + + - name: Build + run: make release NUM_THREADS=$(nproc) + + - name: Test + working-directory: tools/shell/test + run: | + pip3 install pytest pexpect + python3 -m pytest -v .