Skip to content

Commit a1c1456

Browse files
committed
Add temporary fix for AppVeyor test reporting
1 parent b504ed3 commit a1c1456

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

appveyor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,13 @@ test_script:
116116
- cmd: dotnet test -c Release --no-build --logger "trx;LogFileName=PostGis20.trx" --results-directory %APPVEYOR_BUILD_FOLDER% Tests.NHibernate.Spatial.PostGis20
117117

118118
after_test:
119+
# NOTE: Temporary fix for test log file names - remove once new dotnet SDK version installed on AppVeyor; see:
120+
# https://github.com/Microsoft/vstest/issues/1951
119121
- ps: $wc = New-Object 'System.Net.WebClient'
120122
- ps: $uri = "https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)"
121-
- ps: $wc.UploadFile($uri, (Resolve-Path MsSql2008.trx))
122-
- ps: $wc.UploadFile($uri, (Resolve-Path MsSql2012.trx))
123+
- ps: $wc.UploadFile($uri, (Resolve-Path MsSql2008_*.trx))
124+
- ps: $wc.UploadFile($uri, (Resolve-Path MsSql2012_*.trx))
123125
# - ps: $wc.UploadFile($uri, (Resolve-Path MySQL.trx))
124126
# - ps: $wc.UploadFile($uri, (Resolve-Path MySQL57.trx))
125-
- ps: $wc.UploadFile($uri, (Resolve-Path PostGis.trx))
126-
- ps: $wc.UploadFile($uri, (Resolve-Path PostGis20.trx))
127+
- ps: $wc.UploadFile($uri, (Resolve-Path PostGis_*.trx))
128+
- ps: $wc.UploadFile($uri, (Resolve-Path PostGis20_*.trx))

0 commit comments

Comments
 (0)