Skip to content

Commit 8a9373f

Browse files
committed
Fix build
1 parent d67e08d commit 8a9373f

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,27 @@ for:
5151
- nuke Release --isrc false --buildno "%APPVEYOR_BUILD_NUMBER%" --version "%base_version%"
5252

5353
test: off
54+
-
55+
# branches to build
56+
branches:
57+
# whitelist
58+
except:
59+
- master
60+
- dev
61+
62+
# Do not build on tags (GitHub only)
63+
skip_tags: true
64+
65+
install:
66+
- dotnet tool install Nuke.GlobalTool --global --version 9.0.3 --no-cache
67+
68+
before_build:
69+
- dotnet restore ./build/_build.csproj
70+
71+
build_script:
72+
- nuke Test --isrc false --buildno "%APPVEYOR_BUILD_NUMBER%" --version "%base_version%"
73+
74+
test: off
5475

5576
artifacts:
5677
- path: src\MeasureMap\bin\Release\netstandard2.0\MeasureMap.dll

src/Tests/MeasureMap.UnitTest/ProfileSessionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ public void ProfileSession_OnExecuted_MultipleRegistrations()
698698
var second = 0;
699699

700700
ProfilerSession.StartSession()
701+
.SetThreadBehaviour(ThreadBehaviour.RunOnMainThread)
701702
.OnExecuted(r => first++)
702703
.OnExecuted(r => second++)
703704
.Task(() => { })

0 commit comments

Comments
 (0)