Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Appveyor doesn't fully support XUnit on .NET Core yet; see appveyor/ci#1404
- Loading branch information
Tomas Lycken
committed
Oct 3, 2017
1 parent
e98cf87
commit 643ec09
Showing
4 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
bin | ||
obj | ||
packages | ||
test_results | ||
|
||
.vs | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Get-ChildItem src\*.Tests ` | ||
| select -ExpandProperty Name ` | ||
| % { dotnet test "src\\$_" -c Release --no-build --logger foo --results-directory (Join-Path $(pwd) test_results) } | ||
|
||
$wc = New-Object 'System.Net.WebClient' | ||
|
||
if ($env:APPVEYOR) { | ||
Get-ChildItem test_results ` | ||
| select -ExpandProperty FullName ` | ||
| % { $wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", "$_") } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters