mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Fix eval github workflow to run on releases, i.e on tags push
This commit is contained in:
parent
ed364fa90e
commit
ffbd0ae3a5
1 changed files with 6 additions and 5 deletions
11
.github/workflows/run_evals.yml
vendored
11
.github/workflows/run_evals.yml
vendored
|
@ -1,9 +1,10 @@
|
||||||
name: Run Khoj Evals
|
name: eval
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Run on every releases
|
# Run on every release
|
||||||
release:
|
push:
|
||||||
types: [published]
|
tags:
|
||||||
|
- "*"
|
||||||
# Allow manual triggers from GitHub UI
|
# Allow manual triggers from GitHub UI
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -82,7 +83,7 @@ jobs:
|
||||||
sed -i 's/dynamic = \["version"\]/version = "${{ steps.hatch.outputs.version }}"/' pyproject.toml
|
sed -i 's/dynamic = \["version"\]/version = "${{ steps.hatch.outputs.version }}"/' pyproject.toml
|
||||||
pip install --upgrade .[dev]
|
pip install --upgrade .[dev]
|
||||||
|
|
||||||
- name: 📝 Run Evals
|
- name: 📝 Run Eval
|
||||||
env:
|
env:
|
||||||
KHOJ_MODE: ${{ matrix.khoj_mode }}
|
KHOJ_MODE: ${{ matrix.khoj_mode }}
|
||||||
SAMPLE_SIZE: ${{ inputs.sample_size }}
|
SAMPLE_SIZE: ${{ inputs.sample_size }}
|
||||||
|
|
Loading…
Reference in a new issue