Skip to content

Commit fc62805

Browse files
committed
small amends
1 parent d5849b3 commit fc62805

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Publish Test Report
5252
uses: ./
5353
with:
54-
report-path: './ctrf/*.json'
54+
report-path: './ctrf-reports/ctrf-report.json'
5555
ai-summary-report: true
5656
pull-request: true
5757
annotate: false

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ You can support the project by:
3333

3434
## Table of Contents
3535

36-
1. [Usage](#usage)
36+
1. [Basic Usage](#basic-usage)
37+
2. [Insights Usage](#insights-usage)
3738
2. [Report Showcase](#report-showcase)
3839
3. [Visual Overview](#visual-overview)
3940
4. [Available Inputs](#available-inputs)
@@ -49,7 +50,7 @@ You can support the project by:
4950
14. [Integrations](#integrations)
5051
15. [What is CTRF?](#what-is-ctrf)
5152

52-
## Usage
53+
## Basic Usage
5354

5455
To get started add the following to your workflow file:
5556

@@ -66,6 +67,18 @@ To get started add the following to your workflow file:
6667
<img src="images/github-readme.png" alt="GitHub Test Reporter" width="600">
6768
</div>
6869
70+
## Insights Usage
71+
72+
```yaml
73+
- name: Publish Test Report
74+
uses: ctrf-io/github-test-reporter@v1
75+
with:
76+
report-path: './ctrf/*.json'
77+
github-report: true
78+
if: always()
79+
```
80+
81+
6982
## Report Showcase
7083
7184
Checkout the [built-in reports](docs/report-showcase.md)

0 commit comments

Comments
 (0)