File tree Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 65
65
run : ${{ github.workspace }}/.ci/ubuntu/gha-setup.sh
66
66
- name : Test
67
67
timeout-minutes : 15
68
- run : dotnet test ${{ github.workspace }}/Build.csproj --no-restore --no-build --logger "console;verbosity=detailed" /p:AltCover=true /p:AltCoverStrongNameKey=${{github.workspace}}/rabbit.snk
68
+ run : dotnet test ${{ github.workspace }}/Build.csproj --no-restore --no-build --logger "console;verbosity=detailed"
69
69
- name : Check for errors in RabbitMQ logs
70
70
run : ${{ github.workspace}}/.ci/ubuntu/gha-log-check.sh
71
71
- name : Maybe upload RabbitMQ logs
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
4
4
</PropertyGroup >
5
+
5
6
<ItemGroup >
6
7
<!-- RabbitMQ.Amqp.Client -->
7
8
<PackageVersion Include =" AMQPNetLite.Core" Version =" 2.4.11" />
8
9
<!-- Tests -->
9
- <PackageVersion Include =" AltCover" Version =" 8.9.3" />
10
10
<PackageVersion Include =" xunit" Version =" 2.9.0" />
11
11
<PackageVersion Include =" xunit.runner.visualstudio" Version =" 2.8.2" />
12
12
<PackageVersion Include =" Xunit.SkippableFact" Version =" 1.4.13" />
13
13
<PackageVersion Include =" coverlet.collector" Version =" 6.0.2" />
14
14
<PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.0" />
15
15
<PackageVersion Include =" EasyNetQ.Management.Client" Version =" 3.0.0" />
16
16
</ItemGroup >
17
+
17
18
<ItemGroup Condition =" $(TargetFramework)=='netstandard2.0'" >
18
19
<!--
19
20
Note: do NOT upgrade these dependencies unless necessary
24
25
<PackageVersion Include =" System.Diagnostics.DiagnosticSource" Version =" 6.0.0" />
25
26
<PackageVersion Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
26
27
</ItemGroup >
28
+
27
29
<ItemGroup Condition =" '$(TargetFramework)'=='net6.0'" >
28
30
<PackageVersion Include =" System.Diagnostics.DiagnosticSource" Version =" 6.0.0" />
29
31
</ItemGroup >
32
+
30
33
<ItemGroup Condition =" '$(TargetFramework)'=='net8.0'" >
31
34
<PackageVersion Include =" System.Diagnostics.DiagnosticSource" Version =" 8.0.1" />
32
35
</ItemGroup >
36
+
33
37
<ItemGroup Condition =" '$(TargetFrameworkIdentifier)'=='.NETFramework'" >
34
38
<GlobalPackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.3" />
35
39
</ItemGroup >
40
+
36
41
<ItemGroup Condition =" '$(IsPackable)'=='true'" >
37
42
<GlobalPackageReference Include =" Microsoft.CodeAnalysis.PublicApiAnalyzers" Version =" 3.3.4" />
38
43
<GlobalPackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" />
Original file line number Diff line number Diff line change 7
7
dotnet build $(CURDIR ) /Build.csproj
8
8
9
9
test : build
10
- dotnet test -c Debug $(CURDIR ) /Tests/Tests.csproj --no-build --logger:" console;verbosity=detailed" /p:AltCover=true /p:AltCoverStrongNameKey= $( CURDIR ) /rabbit.snk
10
+ dotnet test -c Debug $(CURDIR ) /Tests/Tests.csproj --no-build --logger:" console;verbosity=detailed"
11
11
12
12
rabbitmq-server-start-arm :
13
13
./.ci/ubuntu/gha-setup.sh start pull arm
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ This library is in early stages of development. It is meant to be used with Rabb
5
5
## How to Run
6
6
7
7
- Start the broker with ` ./.ci/ubuntu/gha-setup.sh start ` . Note that this has been tested on Ubuntu 22 with docker.
8
- - Run the tests with ` dotnet test ./Build.csproj --logger "console;verbosity=detailed" /p:AltCover=true `
8
+ - Run the tests with ` dotnet test ./Build.csproj --logger "console;verbosity=detailed" `
9
9
- Stop RabbitMQ with ` ./.ci/ubuntu/gha-setup.sh stop `
10
10
11
11
## Getting Started
Original file line number Diff line number Diff line change 17
17
</PropertyGroup >
18
18
19
19
<ItemGroup >
20
- <PackageReference Include =" AltCover" />
21
20
<PackageReference Include =" EasyNetQ.Management.Client" />
22
21
<PackageReference Include =" Microsoft.NET.Test.Sdk" />
23
22
<PackageReference Include =" xunit" />
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Write-Host "Done building." -ForegroundColor "Green"
22
22
23
23
if ($RunTests ) {
24
24
Write-Host " Running tests: Build.csproj traversal (all frameworks)" - ForegroundColor " Magenta"
25
- dotnet test $build_csproj_file -- no- build -- logger ' console;verbosity=detailed' ' /p:AltCover=true ' " /p:AltCoverStrongNameKey= $PSScriptRoot /rabbit.snk "
25
+ dotnet test $build_csproj_file -- no- build -- logger ' console;verbosity=detailed'
26
26
if ($LastExitCode -ne 0 )
27
27
{
28
28
Write-Host " Error with tests, aborting build." - Foreground " Red"
You can’t perform that action at this time.
0 commit comments