mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Add option to convert backslashes in path pattern to forward slashes
The fast-glob library that is internally used interprets backslashes as escape characters. If enabled, all backslashes in provided path will be replaced by forward slashes and act as directory separators. It might be useful when path input variable is composed dynamically from existing directory paths on Windows. Closes #127
This commit is contained in:
@@ -15,6 +15,13 @@ inputs:
|
||||
Supports wildcards via [fast-glob](https://github.com/mrmlnc/fast-glob)
|
||||
All matched result files must be of same format
|
||||
required: true
|
||||
path-replace-backslashes:
|
||||
description: |
|
||||
The fast-glob library that is internally used interprets backslashes as escape characters.
|
||||
If enabled, all backslashes in provided path will be replaced by forward slashes and act as directory separators.
|
||||
It might be useful when path input variable is composed dynamically from existing directory paths on Windows.
|
||||
default: 'false'
|
||||
required: false
|
||||
reporter:
|
||||
description: |
|
||||
Format of test results. Supported options:
|
||||
|
||||
Reference in New Issue
Block a user