Skip to content

Commit 8659b22

Browse files
committed
ci tests
1 parent 1bf3a26 commit 8659b22

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ insert_final_newline = true
99
indent_size = 4
1010
charset = utf-8
1111

12+
# Convention (not tool-enforced): line comments go on their own line directly above the code they
13+
# describe, never trailing at the end of a code line.
14+
1215
# Redundant accessor body
1316
resharper_redundant_accessor_body_highlighting = error
1417

@@ -232,6 +235,7 @@ resharper_arrange_redundant_parentheses_highlighting = error
232235
resharper_arrange_static_member_qualifier_highlighting = error
233236
resharper_arrange_this_qualifier_highlighting = error
234237
resharper_arrange_type_member_modifiers_highlighting = none
238+
resharper_arrange_type_modifiers_highlighting = none
235239
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
236240
resharper_built_in_type_reference_style_highlighting = hint
237241
resharper_check_namespace_highlighting = none

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<PackageVersion Include="MarkdownSnippets.MsBuild" Version="28.4.1" />
88
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.8.1" />
99
<PackageVersion Include="Polyfill" Version="11.0.1" />
10-
<PackageVersion Include="ProjectDefaults" Version="1.0.174" />
10+
<PackageVersion Include="ProjectDefaults" Version="1.0.175" />
1111
<PackageVersion Include="TestableIO.System.IO.Abstractions" Version="22.2.0" />
1212
<PackageVersion Include="TestableIO.System.IO.Abstractions.Wrappers" Version="22.2.0" />
1313
<PackageVersion Include="Verify" Version="31.25.0" />

src/appveyor.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ build_script:
77
- pwsh: |
88
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
99
./dotnet-install.ps1 -JSonFile global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
10-
- dotnet build src --configuration Release
11-
- dotnet test src --configuration Release --no-build --no-restore
10+
- pwsh: |
11+
dotnet build src --configuration Release
12+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
13+
dotnet test src --configuration Release --no-build --no-restore --logger trx
14+
$testExit = $LASTEXITCODE
15+
$url = "https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)"
16+
Get-ChildItem -Recurse -Filter *.trx | ForEach-Object {
17+
Write-Host "Uploading test results: $($_.FullName)"
18+
try { (New-Object System.Net.WebClient).UploadFile($url, $_.FullName) }
19+
catch { Write-Host "Failed to upload test results: $_" }
20+
}
21+
if ($testExit -ne 0) { exit $testExit }
1222
test: off
1323
artifacts:
1424
- path: nugets\*.nupkg

0 commit comments

Comments
 (0)