File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44
44
- name : Restore
45
45
run : dotnet restore --verbosity=normal
46
46
- name : ApiGen
47
- run : dotnet run --framework "netcoreapp3.1" --project ./projects/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 ./projects/specs/amqp0-9-1.stripped.xml ./gensrc/autogenerated-api-0-9-1.cs
47
+ run : dotnet run --framework net6.0 --project ./projects/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 ./projects/specs/amqp0-9-1.stripped.xml ./gensrc/autogenerated-api-0-9-1.cs
48
48
- name : Build
49
49
run : dotnet build --no-restore --verbosity=normal
50
50
- name : Test
@@ -85,10 +85,10 @@ jobs:
85
85
- name : Restore
86
86
run : dotnet restore --verbosity=normal
87
87
- name : ApiGen
88
- run : dotnet run --framework "netcoreapp3.1" --project ./projects/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 ./projects/specs/amqp0-9-1.stripped.xml ./gensrc/autogenerated-api-0-9-1.cs
88
+ run : dotnet run --framework net6.0 --project ./projects/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 ./projects/specs/amqp0-9-1.stripped.xml ./gensrc/autogenerated-api-0-9-1.cs
89
89
- name : Build
90
90
run : dotnet build --no-restore --verbosity=normal
91
91
- name : Test
92
- run : dotnet test --no-restore --no-build --logger "console;verbosity=detailed" --framework "netcoreapp3.1"
92
+ run : dotnet test --no-restore --no-build --logger "console;verbosity=detailed" --framework net6.0
93
93
env :
94
94
RABBITMQ_RABBITMQCTL_PATH : DOCKER:${{job.services.rabbitmq.id}}
Original file line number Diff line number Diff line change @@ -104,15 +104,15 @@ Running individual tests and fixtures on Windows is trivial using the Visual Stu
104
104
To run a specific tests fixture on MacOS or Linux, use the NUnit filter expressions to select the tests to be run:
105
105
106
106
``` shell
107
- dotnet test projects/Unit -f netcoreapp3.1 --filter " Name~TestAmqpUriParseFail"
107
+ dotnet test projects/Unit -f net6.0 --filter " Name~TestAmqpUriParseFail"
108
108
109
- dotnet test projects/Unit -f netcoreapp3.1 --filter " FullyQualifiedName~RabbitMQ.Client.Unit.TestHeartbeats"
109
+ dotnet test projects/Unit -f net6.0 --filter " FullyQualifiedName~RabbitMQ.Client.Unit.TestHeartbeats"
110
110
```
111
111
112
112
## Running Tests for a Specific .NET Target
113
113
114
114
To only run tests on .NET Core:
115
115
116
116
``` shell
117
- dotnet test -f netcoreapp3.1 projects/Unit
117
+ dotnet test -f net6.0 projects/Unit
118
118
```
Original file line number Diff line number Diff line change 13
13
14
14
cd " $script_dir "
15
15
16
- dotnet test --no-build --logger ' console;verbosity=detailed' --framework ' netcoreapp3.1 ' ./RabbitMQDotNetClient.sln < /dev/null
16
+ dotnet test --no-build --logger ' console;verbosity=detailed' --framework ' net6.0 ' ./RabbitMQDotNetClient.sln < /dev/null
You can’t perform that action at this time.
0 commit comments