Skip to content

adjust to Milvus Lite #16

adjust to Milvus Lite

adjust to Milvus Lite #16

Workflow file for this run

name: all
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Lint with flake8
run: |
flake8 src tests examples
- name: Check style with black
run: |
black src tests examples
- name: Run security check
run: |
bandit -qr -c pyproject.toml src examples
- name: Run import check
run: |
isort --check src tests examples
- name: Run mypy
run: |
mypy src
- name: Test with pytest
run: |
pytest --color=yes