You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-34Lines changed: 0 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,40 +96,6 @@ This will create a job summary with insights on failures, flakiness and test dur
96
96
<img src="images/insights.png" alt="GitHub Test Reporter" width="600">
97
97
</div>
98
98
99
-
## Continuous AI Usage
100
-
101
-
To get started with continuous AI analysis of test results, add the following to your workflow file:
102
-
103
-
```yaml
104
-
- name: Publish Test Report with AI Analysis
105
-
uses: ctrf-io/github-test-reporter@v1
106
-
with:
107
-
report-path: './ctrf/*.json'
108
-
ai-summary-report: true
109
-
on-fail-only: true
110
-
summary: false
111
-
pull-request: true
112
-
ai: |
113
-
{
114
-
"provider": "openai",
115
-
"model": "gpt-5"
116
-
}
117
-
if: always()
118
-
env:
119
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120
-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
121
-
```
122
-
123
-
Add your AI API key to the repository secrets. Choose from a variety of AI providers and models. See [AI Configuration](#ai-configuration) for more information.
124
-
125
-
Make sure your GitHub Token has pull request write permission.
126
-
127
-
This will create a pull request comment with a summary of the AI analysis.
128
-
129
-
<div align="center">
130
-
<img src="images/ai-summary.png" alt="GitHub Test Reporter" width="600">
131
-
</div>
132
-
133
99
## Pull Request Comment Usage
134
100
135
101
To get started with pull request comments, add the following to your workflow file:
0 commit comments