We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f6c52 commit fc10322Copy full SHA for fc10322
.github/workflows/evaluate.yaml
@@ -136,7 +136,7 @@ jobs:
136
137
- name: Evaluate local RAG flow
138
run: |
139
- PR_NUMBER=${{ github.event.pull_request.number }}
+ PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; /^refs\/pull/ { print $3 }')
140
python evals/evaluate.py --targeturl=http://127.0.0.1:8000/chat --numquestions=2 --resultsdir=results/pr$PR_NUMBER
141
142
- name: Upload server logs as build artifact
@@ -155,7 +155,7 @@ jobs:
155
uses: actions/upload-artifact@v4
156
with:
157
name: eval_result
158
- path: ./evals/results/pr${{ github.event.pull_request.number }}
+ path: ./evals/results/pr$PR_NUMBER
159
160
- name: GitHub Summary Step
161
if: ${{ success() }}
0 commit comments