[pull] master from milvus-io:master #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code checker on pull request | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
code-lint: | |
name: Code lint check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.12] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Check pyproject.toml install | |
run: | | |
pip install -e . | |
- name: Install requirements | |
run: | | |
pip install -e ".[dev]" | |
- name: Run pylint | |
shell: bash | |
run: | | |
make lint |