forked from datafuselabs/databend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (35 loc) · 967 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: "Test Stateless Cluster MacOS"
description: "Running stateless tests in cluster mode"
inputs:
target:
description: ""
required: true
default: "x86_64-apple-darwin"
runs:
using: "composite"
steps:
- uses: ./.github/actions/setup_bendsql
- name: Download artifact
uses: ./.github/actions/artifact_download
with:
sha: ${{ github.sha }}
target: ${{ inputs.target }}
- name: Test setup
shell: bash
run: |
bash ./scripts/setup/dev_setup.sh -yd
- name: Start UDF Server
shell: bash
run: |
pip install databend-udf
python3 tests/udf/udf_server.py &
sleep 2
- name: Run Stateless Tests with Cluster mode
shell: bash
run: |
bash ./scripts/ci/ci-run-stateless-tests-cluster.sh
- name: Upload failure
if: failure()
uses: ./.github/actions/artifact_failure
with:
name: test-stateless-cluster-macos