mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 13:37:56 +01:00
Add dotnet-trx support (no annotations yet)
This commit is contained in:
parent
6482e393f9
commit
b28f91cc2e
7 changed files with 247 additions and 4 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import * as core from '@actions/core'
|
||||
import * as github from '@actions/github'
|
||||
import {parseJestJunit} from './parsers/jest-junit/jest-junit-parser'
|
||||
import {parseDartJson} from './parsers/dart-json/dart-json-parser'
|
||||
import {parseDotnetTrx} from './parsers/dotnet-trx/dotnet-trx-parser'
|
||||
import {parseJestJunit} from './parsers/jest-junit/jest-junit-parser'
|
||||
import {ParseOptions, ParseTestResult} from './parsers/parser-types'
|
||||
import {getFileContent, normalizeDirPath} from './utils/file-utils'
|
||||
import {listFiles} from './utils/git'
|
||||
|
|
@ -67,7 +68,7 @@ function getParser(reporter: string): ParseTestResult {
|
|||
case 'dart-json':
|
||||
return parseDartJson
|
||||
case 'dotnet-trx':
|
||||
throw new Error('Not implemented yet!')
|
||||
return parseDotnetTrx
|
||||
case 'flutter-machine':
|
||||
return parseDartJson
|
||||
case 'jest-junit':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue