[skip ci]Update schedule for simd compatibilitu test action (#11755)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2021-11-12 19:45:10 +08:00 committed by GitHub
parent b1723327df
commit 3baa585c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@ name: SIMD Compatibility Test
on: on:
workflow_dispatch: workflow_dispatch:
schedule:
- cron: "30 18 * * 0"
jobs: jobs:
test-simd-compatibility: test-simd-compatibility:
@ -9,12 +11,12 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
simd_type: ["sse4_2", "avx", "avx2", "avx512"] simd_type: ["sse4_2", "avx", "avx2", "avx512"]
steps: steps:
- name: Creating kind cluster - name: Creating kind cluster
uses: helm/kind-action@v1.2.0 uses: helm/kind-action@v1.2.0
- name: Print cluster information - name: Print cluster information
run: | run: |
kubectl config view kubectl config view
@ -37,7 +39,7 @@ jobs:
run: | run: |
pip install -r requirements.txt pip install -r requirements.txt
pip install --upgrade protobuf pip install --upgrade protobuf
- name: install milvus operator and milvus cluster - name: install milvus operator and milvus cluster
shell: bash shell: bash
working-directory: tests/python_client/customize/template working-directory: tests/python_client/customize/template
@ -76,11 +78,10 @@ jobs:
kubectl port-forward service/my-release-milvus 19530 >/dev/null 2>&1 & kubectl port-forward service/my-release-milvus 19530 >/dev/null 2>&1 &
sleep 20s sleep 20s
# check whether port-forward success # check whether port-forward success
nc -vz 127.0.0.1 19530 nc -vz 127.0.0.1 19530
- name: Run E2E test - name: Run E2E test
shell: bash shell: bash
working-directory: tests/python_client/chaos working-directory: tests/python_client/chaos
run: | run: |
python scripts/hello_milvus.py python scripts/hello_milvus.py