Skip to content

Commit dc19e7c

Browse files
authored
Merge pull request #103 from Azure-Samples/test-eval3
Remove unused code in workflow
2 parents c3bac47 + 1381ee0 commit dc19e7c

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/app-tests.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ jobs:
5353
psql -d postgres -c "ALTER USER ${{ env.POSTGRES_USERNAME }} WITH PASSWORD '${{ env.POSTGRES_PASSWORD }}'"
5454
psql -d postgres -c 'CREATE EXTENSION vector'
5555
56-
# - name: (Windows) Start postgreSQL
57-
# if: matrix.os == 'windows-latest'
58-
# uses: ikalnytskyi/action-setup-postgres@v6
59-
# with:
60-
# username: ${{ env.POSTGRES_USERNAME }}
61-
# password: ${{ env.POSTGRES_PASSWORD }}
62-
# database: ${{ env.POSTGRES_DATABASE }}
63-
6456
- name: Install pgvector
6557
if: matrix.os == 'windows-latest'
6658
shell: cmd

.github/workflows/evaluate.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,15 @@ jobs:
157157
if: ${{ success() }}
158158
run: |
159159
echo "📊 Evaluation Results" >> $GITHUB_STEP_SUMMARY
160-
python -m evaltools summary evals/results --output=markdown >> $GITHUB_STEP_SUMMARY
160+
python -m evaltools summary evals/results --output=markdown >> eval-results.md
161+
cat eval-results.md >> $GITHUB_STEP_SUMMARY
161162
162163
- name: Comment on pull request
163164
uses: actions/github-script@v7
164165
with:
165166
script: |
166167
const fs = require('fs');
167-
const summaryPath = process.env.GITHUB_STEP_SUMMARY;
168+
const summaryPath = "eval-results.md";
168169
const summary = fs.readFileSync(summaryPath, 'utf8');
169170
github.rest.issues.createComment({
170171
issue_number: context.issue.number,

0 commit comments

Comments
 (0)