name: Slow Tests (nightly)
# The `slow-tests` feature gates the 5 CLI integration test binaries
# (cli_batch_test, cli_commands_test, cli_graph_test, cli_health_test,
# cli_test) that shell out to the `cqs` binary and cold-load the full
# ONNX / HNSW / SPLADE stack per invocation. PR CI skips them; this
# workflow runs them once a day plus on demand. See issue #980.
on:
schedule:
- cron: '0 8 * * *' # 08:00 UTC daily
workflow_dispatch:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
slow-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run slow CLI tests
run: cargo test --features slow-tests --verbose
timeout-minutes: 180