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:
Michal Dorner 2021-06-22 22:33:11 +02:00
parent ad831af420
commit de0b4b9ece
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
6 changed files with 43 additions and 22 deletions

View file

@ -119,6 +119,11 @@ jobs:
# All matched result files must be of the same format
path: ''
# The fast-glob library that is internally used interprets backslashes as escape characters.
# If enabled, all backslashes in provided path will be replaced to forward slashes and act as directory separators.
# It might be useful when path input variable is composed dynamically from existing directory paths on Windows.
path-replace-backslashes: 'false'
# Format of test results. Supported options:
# dart-json
# dotnet-trx