Skip to content

Commit a6919e2

Browse files
committed
Update CI workflow for test prompt validation
Set fetch-depth to 0 for full git history, install dev dependencies along with test dependencies, and fix formatting in error comment for evaluation results. These changes improve workflow reliability and ensure all required packages are available.
1 parent 40174fc commit a6919e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/validate-test-generation-prompts.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
steps:
2020
- name: Checkout repository
2121
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
2224

2325
- name: Set up Python
2426
uses: actions/setup-python@v5
@@ -27,8 +29,7 @@ jobs:
2729

2830
- name: Install dependencies
2931
run: |
30-
python -m pip install --upgrade pip
31-
pip install -e ".[test]"
32+
pip install -e ".[dev,test]"
3233
3334
- name: Install Playwright browsers
3435
run: |
@@ -133,9 +134,9 @@ jobs:
133134
} catch (error) {
134135
console.error('Error reading summary file:', error);
135136
const comment = \`## Inspect AI Evaluation Results
136-
137+
137138
❌ **Error**: Could not read evaluation results summary file.
138-
139+
139140
Please check the workflow logs for details.\`;
140141
141142
github.rest.issues.createComment({

0 commit comments

Comments
 (0)