Skip to content

Commit 11bb1b1

Browse files
committed
Use trx LogFilePrefix in CI test logger
Change CI workflow to use --logger "trx;LogFilePrefix=results" instead of a fixed LogFileName. This prevents a single results.trx file from being overwritten by concurrent or repeated test runs (e.g., matrix jobs or retries) and allows multiple TRX files to be generated in the TestResults directory. Updated file: .github/workflows/motus-ci.yml.
1 parent 3e2389c commit 11bb1b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/motus-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
--configuration Release
4646
--no-build
4747
--filter "TestCategory!=Integration"
48-
--logger "trx;LogFileName=results.trx"
48+
--logger "trx;LogFilePrefix=results"
4949
--collect:"XPlat Code Coverage"
5050
--results-directory TestResults
5151
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura

0 commit comments

Comments
 (0)