Skip to content

Support range search function (#83) #154

Support range search function (#83)

Support range search function (#83) #154

Workflow file for this run

name: Unittest
on:
push:
paths:
- 'src/**'
- 'tests/**'
- 'milvus-proto/**'
- 'build.rs'
- '.github/**'
- 'docker-compose.yml'
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'milvus-proto/**'
- 'build.rs'
- '.github/**'
- 'docker-compose.yml'
jobs:
# This workflow contains a single job called "build"
build:
name: Unittest AMD64 Ubuntu ${{ matrix.ubuntu }}
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
ubuntu: [18.04]
env:
UBUNTU: ${{ matrix.ubuntu }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Setup Milvus
run: sudo docker-compose up -d && sleep 15s
- name: Setup protoc
uses: arduino/setup-protoc@v1.1.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Runs a single command using the runners shell
- name: Run Unittest
run: RUST_BACKTRACE=1 cargo test
# - name: Upload coverage to Codecov
# if: github.repository == 'milvus-io/milvus-sdk-rust'
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: ./coverage.project.out
# name: ubuntu-${{ matrix.ubuntu }}-unittests