Skip to content

Commit

Permalink
Update test-summary/action to v2.1 (#12)
Browse files Browse the repository at this point in the history
* Update test-summary/action to v2.1

* update README to test-summary v2

* fix whitespaces

---------

Co-authored-by: Nils Uhrberg <nils.uhrberg@codecentric.de>
  • Loading branch information
dariocurr and aiakide committed May 2, 2023
1 parent 01a8430 commit 22b01d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ To specify them correctly, please have a look [here](https://docs.pytest.org). F
tests/test_file_2.py
```
* **`show`**: which tests have to be shown in the summary (optional, by default just the failed tests are shown in the summary)
* To show all tests, specify: `show: all`
* To show no tests, specify: `show: none`
* **`show`**: which tests have to be shown in the summary (optional, by default `fail`)
This controls whether a test summary table is created or not, as well as what tests are included. It could be all, none, pass, skip, or fail. The default is fail - that is, the summary table will only show the failed tests. For example, if you wanted to show failed and skipped tests:
---
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
- run: pytest ${{ inputs.options }} --junit-xml=.test_report.xml ${{ inputs.paths }}
shell: bash

- uses: test-summary/action@v1
- uses: test-summary/action@v2.1
with:
paths: .test_report.xml
output: ${{ inputs.output }}
Expand Down

0 comments on commit 22b01d9

Please sign in to comment.