Support retrain_index = false
in IVF PQ consolidate_updates()
#1179
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: Check formatting | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "_quarto.yml" | |
- "quarto-materials/*" | |
- "**/.md" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "_quarto.yml" | |
- "quarto-materials/*" | |
- "**/.md" | |
jobs: | |
# Based on: https://github.com/TileDB-Inc/TileDB-Cloud-Py/blob/main/.github/workflows/tiledb-cloud-py.yaml#L15 | |
run-pre-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
cache: pip | |
cache-dependency-path: ".github/workflows/check-formatting.yml" | |
- name: Install pre-commit | |
run: pip install ".[formatting]" | |
- name: Restore pre-commit cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pre-commit | |
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | |
- name: Run pre-commit checks | |
run: pre-commit run --all-files --verbose |