Skip to content

Commit e55fc36

Browse files
committed
docs: add example pr
1 parent f1152ff commit e55fc36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/github_action.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ Below is an example that reports files with coverage below 80% without causing t
5757

5858
Using go-test-coverage, you can display a detailed comparison of code coverage changes relative to the base branch. When this feature is enabled, the report highlights files with coverage differences compared to the base branch.
5959

60-
The same logic is used in workflow in [this repo](/.github/workflows/test.yml).
60+
The same logic is used in workflow in [this repo](/.github/workflows/test.yml).
61+
Example of report that includes coverage difference is [this PR](https://github.com/vladopajic/go-test-coverage/pull/129).
6162

6263
```yml
6364
# Download main (aka base) branch breakdown
@@ -97,6 +98,7 @@ The same logic is used in workflow in [this repo](/.github/workflows/test.yml).
9798
Here is an example of how to post comments with the coverage report to your pull request.
9899
99100
The same logic is used in workflow in [this repo](/.github/workflows/test.yml).
101+
Example of report is in [this PR](https://github.com/vladopajic/go-test-coverage/pull/129).
100102
101103
```yml
102104
- name: check test coverage

0 commit comments

Comments
 (0)