An open API service indexing awesome lists of open source software.

https://github.com/foodee/annotate-failing-tests


https://github.com/foodee/annotate-failing-tests

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# annotate-failing-tests

Action to annotate github PRs with stack traces when they fail.

## Usage

Simply add to your workflow after a testing step, with a pointer to the junit test report.

```yaml
name: Verify Code
jobs:
test:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

steps:

- name: Run Tests
runs: rails test

- name: Annotate Source
uses: Foodee/annotate-failing-tests@master
with:
report-file: report.xml
language: ruby
check-name: test

```