mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-18 23:17:09 +01:00
Add support for loading test results from artifacts
This commit is contained in:
parent
71f2f95ef0
commit
3510d9ac27
19 changed files with 11665 additions and 338 deletions
13
src/input-providers/input-provider.ts
Normal file
13
src/input-providers/input-provider.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
export interface ReportInput {
|
||||
[reportName: string]: FileContent[]
|
||||
}
|
||||
|
||||
export interface FileContent {
|
||||
file: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export interface InputProvider {
|
||||
load(): Promise<ReportInput>
|
||||
listTrackedFiles(): Promise<string[]>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue