mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Minimal project description & metadata
This commit is contained in:
parent
5b8dac1c5f
commit
fc6bfde935
3 changed files with 33 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -1,3 +1,11 @@
|
||||||
# JUnit Check Report
|
**WIP**
|
||||||
|
|
||||||
** WIP **
|
# Test Check Report
|
||||||
|
|
||||||
|
Goal of this project is to create [Github Action](https://github.com/features/actions)
|
||||||
|
that could presents test results from popular testing frameworks as Github check run with code annotation in places where test failed.
|
||||||
|
|
||||||
|
Support for following test reports are planned for initial release:
|
||||||
|
- [ ] dotnet-trx: [`dotnet test --logger trx`](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test#examples)
|
||||||
|
- [ ] flutter-machine: `flutter test --machine`
|
||||||
|
- [ ] jest-junit: [`jest --ci --reporters=jest-junit`](https://github.com/jest-community/jest-junit#readme)
|
||||||
|
|
|
||||||
23
action.yml
23
action.yml
|
|
@ -1,7 +1,26 @@
|
||||||
name: 'JUnit Check Report'
|
name: 'Test Check Reporter'
|
||||||
description: 'Presents results of junit test report as Github check run'
|
description: |
|
||||||
|
Presents test results from popular testing frameworks as Github check run.
|
||||||
|
Supports:
|
||||||
|
- dotnet (trx logger)
|
||||||
|
- flutter (JSON output with '--machine' flag )
|
||||||
|
- jest (jest-junit reporter)
|
||||||
|
|
||||||
author: 'Michal Dorner <dorner.michal@gmail.com>'
|
author: 'Michal Dorner <dorner.michal@gmail.com>'
|
||||||
inputs:
|
inputs:
|
||||||
|
name:
|
||||||
|
description: 'Name of the check run'
|
||||||
|
required: true
|
||||||
|
path:
|
||||||
|
description: 'Path to test report'
|
||||||
|
required: true
|
||||||
|
reporter:
|
||||||
|
description: |
|
||||||
|
Format of test report. Supported options:
|
||||||
|
- dotnet-trx
|
||||||
|
- flutter-machine
|
||||||
|
- jest-junit
|
||||||
|
required: true
|
||||||
token:
|
token:
|
||||||
description: 'GitHub Access Token'
|
description: 'GitHub Access Token'
|
||||||
required: false
|
required: false
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "junit-check",
|
"name": "junit-check",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Presents results of junit test report as Github check run",
|
"description": "Presents test results from popular testing frameworks as Github check run",
|
||||||
"main": "lib/main.js",
|
"main": "lib/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/dorny/junit-check.git"
|
"url": "git+https://github.com/dorny/test-check.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"actions",
|
"actions",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue