test-reporter release v2.0.0

This commit is contained in:
Jozef Izso 2025-03-12 14:05:19 +01:00
parent 5c0d9a463a
commit 3bd727259a
4 changed files with 18 additions and 6 deletions

View file

@ -1,5 +1,17 @@
# Changelog
## 2.0.0
* Parse JUnit report with detailed message in failure https://github.com/dorny/test-reporter/pull/559
* Support displaying test results in markdown using GitHub Actions Job Summaries https://github.com/dorny/test-reporter/pull/383
## 1.9.1
* Fix problematic retransmission of authentication token https://github.com/dorny/test-reporter/pull/438
* Report correct number of tests in Dart https://github.com/dorny/test-reporter/pull/426
* Number of completed tests mismatches passed/failed https://github.com/dorny/test-reporter/issues/319
## 1.9.0
* Add support for Rspec (Ruby) https://github.com/dorny/test-reporter/pull/398
## 1.8.0
* Add `SwiftXunitParser` class based on `JavaJunitParser` for `swift-xunit` reporter https://github.com/dorny/test-reporter/pull/317
* Use NodeJS 18 LTS as default runtime https://github.com/dorny/test-reporter/pull/332

View file

@ -48,7 +48,7 @@ jobs:
- run: npm test # run tests (configured to use jest-junit reporter)
- name: Test Report
uses: dorny/test-reporter@v1
uses: dorny/test-reporter@v2
if: success() || failure() # run this step even if previous step failed
with:
name: JEST Tests # Name of the check run which will be created
@ -99,7 +99,7 @@ jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
- uses: dorny/test-reporter@v2
with:
artifact: test-results # artifact name
name: JEST Tests # Name of the check run which will be created
@ -110,7 +110,7 @@ jobs:
## Usage
```yaml
- uses: dorny/test-reporter@v1
- uses: dorny/test-reporter@v2
with:
# Name or regex of artifact containing test results

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "test-reporter",
"version": "2.0.0-preview",
"version": "2.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "test-reporter",
"version": "2.0.0-preview",
"version": "2.0.0",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",

View file

@ -1,6 +1,6 @@
{
"name": "test-reporter",
"version": "2.0.0-preview",
"version": "2.0.0",
"private": true,
"description": "Presents test results from popular testing frameworks as Github check run",
"main": "lib/main.js",