mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 04:05:22 -08:00
Add dotnet-trx support (no annotations yet)
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user