Skip to content

Commit

Permalink
Update readme with new GH integration
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jul 4, 2024
1 parent 090e2ee commit 59d6c74
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Binary file added assets/img/comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ Pretty-print test results in TRX format.

Typical usage: `dotnet test --logger trx; trx` (optionally with `--output`).

It automatically integrates with GitHub Actions by appending a pull request comment with the results too.
Set up workflow with:

```yml
- name: 🧪 show
if: always()
run:
dotnet tool update -g dotnet-trx
trx --output
```
And view results in an automatic pull request comment like:
![PR comment](https://raw.githubusercontent.com/devlooped/dotnet-trx/main/assets/img/comment.png)
```shell
USAGE:
trx [OPTIONS]
Expand Down

0 comments on commit 59d6c74

Please sign in to comment.