[SVS] Batched updates for SVS Tiered Index #1419
Workflow file for this run
This file contains hidden or 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: Pull Request CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] # Defaults + ready_for_review | |
jobs: | |
basic-tests: | |
name: basic tests | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Print CPU information | |
run: | | |
echo "=== CPU Information ===" | |
if command -v lscpu >/dev/null 2>&1; then | |
echo "--- lscpu output ---" | |
lscpu | |
else | |
echo "--- Fallback CPU info ---" | |
cat /proc/cpuinfo 2>/dev/null || echo "CPU info not available" | |
fi | |
echo "Runner OS: $RUNNER_OS" | |
echo "Runner Architecture: ${{ runner.arch }}" | |
echo "========================" | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: install dependencies | |
run: sudo .install/install_script.sh | |
- name: install python packages | |
run: pip3 install -r requirements.txt | |
- name: check format | |
run: make check-format | |
- name: unit tests | |
run: make unit_test | |
- name: flow tests | |
run: make flow_test VERBOSE=1 | |
coverage: | |
needs: [basic-tests] | |
if: ${{ !github.event.pull_request.draft}} | |
uses: ./.github/workflows/coverage.yml | |
secrets: inherit | |
codeql-analysis: | |
if: ${{ !github.event.pull_request.draft}} | |
uses: ./.github/workflows/codeql-analysis.yml | |
secrets: inherit | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Spellcheck | |
uses: rojopolis/spellcheck-github-actions@v0 | |
with: | |
config_path: .github/spellcheck-settings.yml | |
task_name: Markdown | |
pr-validation: | |
needs: | |
- basic-tests | |
- coverage | |
- codeql-analysis | |
- spellcheck | |
runs-on: ubuntu-latest | |
if: ${{ !cancelled() }} | |
steps: | |
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') | |
run: exit 1 |