mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-07 05:06:31 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
28 lines
911 B
YAML
28 lines
911 B
YAML
name: Bench (manual)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
workload:
|
|
description: "The path to the workloads to execute (workloads/...)"
|
|
required: true
|
|
default: "workloads/movies.json"
|
|
|
|
env:
|
|
WORKLOAD_NAME: ${{ github.event.inputs.workload }}
|
|
|
|
jobs:
|
|
benchmarks:
|
|
name: Run and upload benchmarks
|
|
runs-on: benchmarks
|
|
timeout-minutes: 180 # 3h
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: dtolnay/rust-toolchain@1.85
|
|
with:
|
|
profile: minimal
|
|
|
|
- name: Run benchmarks - workload ${WORKLOAD_NAME} - branch ${{ github.ref }} - commit ${{ github.sha }}
|
|
run: |
|
|
cargo xtask bench --api-key "${{ secrets.BENCHMARK_API_KEY }}" --dashboard-url "${{ vars.BENCHMARK_DASHBOARD_URL }}" --reason "Manual [Run #${{ github.run_id }}](https://github.com/meilisearch/meilisearch/actions/runs/${{ github.run_id }})" -- ${WORKLOAD_NAME}
|