Minimal project description & metadata

This commit is contained in:
Michal Dorner 2020-10-12 22:23:09 +02:00
parent 5b8dac1c5f
commit fc6bfde935
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
3 changed files with 33 additions and 6 deletions

View file

@ -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)

View file

@ -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

View file

@ -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",