Compare commits

..

10 Commits

Author SHA1 Message Date
Julien Catania
731829c27b feat(ci) add flutter-json 2024-01-15 17:26:13 +01:00
Julien Catania
f61aefcd0a feat(ci) add java-junit 2024-01-15 17:13:14 +01:00
Julien Catania
1e50f0d29a feat(ci) add java-junit 2024-01-15 17:11:20 +01:00
Julien Catania
3bb403de5c feat(ci) add report to the name 2024-01-15 17:05:17 +01:00
Julien Catania
f6168414cd feat(ci) fix dotnet trx 2024-01-15 17:04:05 +01:00
Julien Catania
6614295132 feat(ci) fail-on-error: false 2024-01-15 17:02:33 +01:00
Julien Catania
e2d72d85c3 feat(ci) removing artifact input 2024-01-15 16:57:20 +01:00
Julien Catania
532f722cdf feat(ci) adding running 5 reporters 2024-01-15 16:48:52 +01:00
Julien Catania
487a312548 feat(ci) adding running 5 reporters 2024-01-15 16:46:57 +01:00
Julien Catania
b6a806a5fb feat(ci) adding running 5 reporters 2024-01-15 16:42:11 +01:00
4 changed files with 515 additions and 232 deletions

46
.github/workflows/test-all-reports.yml vendored Normal file
View File

@@ -0,0 +1,46 @@
name: Run all reports
on:
pull_request:
branches:
- main
paths-ignore: [ '**.md' ]
push:
paths-ignore: [ '**.md' ]
branches:
- main
workflow_dispatch:
jobs:
reports:
name: Run
runs-on: ubuntu-latest
strategy:
matrix:
reporter: [ jest-junit, mocha-json, swift-xunit, dart-json, dotnet-trx, java-junit, flutter-json ]
include:
- reporter: jest-junit
path: ./__tests__/fixtures/jest-junit.xml
- reporter: mocha-json
path: ./__tests__/fixtures/mocha-json.json
- reporter: swift-xunit
path: ./__tests__/fixtures/swift-xunit.xml
- reporter: dart-json
path: ./__tests__/fixtures/dart-json.json
- reporter: dotnet-trx
path: ./__tests__/fixtures/dotnet-trx.trx
- reporter: java-junit
path: ./__tests__/fixtures/external/java/pulsar-test-report.xml
- reporter: flutter-json
path: ./__tests__/fixtures/external/flutter/provider-test-results.json
steps:
- uses: actions/checkout@v4
- uses: ./
with:
name: ${{ matrix.reporter }} report
path: ${{ matrix.path }}
reporter: ${{ matrix.reporter }}
fail-on-error: false

View File

@@ -1,12 +1,5 @@
# Changelog # Changelog
## 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
* Escape `<>` characters in suite name https://github.com/dorny/test-reporter/pull/236
* Update actions runtime to Node20 https://github.com/dorny/test-reporter/pull/315
* Update check title and remove icon https://github.com/dorny/test-reporter/pull/144
## 1.7.0 ## 1.7.0
* Fix #199: Use ✅ instead of ✔️ for better cross platform look by @petrdvorak in https://github.com/dorny/test-reporter/pull/200 * Fix #199: Use ✅ instead of ✔️ for better cross platform look by @petrdvorak in https://github.com/dorny/test-reporter/pull/200
* Verify content of dist/ folder matches build output by @dorny in https://github.com/dorny/test-reporter/pull/207 * Verify content of dist/ folder matches build output by @dorny in https://github.com/dorny/test-reporter/pull/207

672
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "test-check", "name": "test-check",
"version": "1.8.0", "version": "1.7.0",
"private": true, "private": true,
"description": "Presents test results from popular testing frameworks as Github check run", "description": "Presents test results from popular testing frameworks as Github check run",
"main": "lib/main.js", "main": "lib/main.js",
@@ -43,30 +43,30 @@
}, },
"devDependencies": { "devDependencies": {
"@octokit/types": "^12.4.0", "@octokit/types": "^12.4.0",
"@octokit/webhooks": "^12.0.11", "@octokit/webhooks": "^12.0.10",
"@octokit/webhooks-types": "^7.3.1", "@octokit/webhooks-types": "^7.3.1",
"@types/adm-zip": "^0.5.5", "@types/adm-zip": "^0.5.5",
"@types/github-slugger": "^1.3.0", "@types/github-slugger": "^1.3.0",
"@types/jest": "^29.5.11", "@types/jest": "^29.5.11",
"@types/node": "^20.11.9", "@types/node": "^20.10.4",
"@types/picomatch": "^2.3.3", "@types/picomatch": "^2.3.3",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.19.1", "@typescript-eslint/parser": "^6.14.0",
"@vercel/ncc": "^0.38.1", "@vercel/ncc": "^0.38.1",
"eol-converter-cli": "^1.0.8", "eol-converter-cli": "^1.0.8",
"eslint": "^8.56.0", "eslint": "^8.55.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-github": "^4.10.1", "eslint-plugin-github": "^4.10.1",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.3", "eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-circus": "^29.7.0", "jest-circus": "^29.7.0",
"jest-junit": "^16.0.0", "jest-junit": "^16.0.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"prettier": "^3.2.4", "prettier": "^3.1.1",
"ts-jest": "^29.1.2", "ts-jest": "^29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"jest-junit": { "jest-junit": {