Skip to content

Commit e3c6826

Browse files
committed
Change netcoreapp3.1 to net6.0
1 parent 235b1f1 commit e3c6826

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Restore
4545
run: dotnet restore --verbosity=normal
4646
- 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
4848
- name: Build
4949
run: dotnet build --no-restore --verbosity=normal
5050
- name: Test
@@ -85,10 +85,10 @@ jobs:
8585
- name: Restore
8686
run: dotnet restore --verbosity=normal
8787
- 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
8989
- name: Build
9090
run: dotnet build --no-restore --verbosity=normal
9191
- 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
9393
env:
9494
RABBITMQ_RABBITMQCTL_PATH: DOCKER:${{job.services.rabbitmq.id}}

RUNNING_TESTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ Running individual tests and fixtures on Windows is trivial using the Visual Stu
104104
To run a specific tests fixture on MacOS or Linux, use the NUnit filter expressions to select the tests to be run:
105105

106106
``` shell
107-
dotnet test projects/Unit -f netcoreapp3.1 --filter "Name~TestAmqpUriParseFail"
107+
dotnet test projects/Unit -f net6.0 --filter "Name~TestAmqpUriParseFail"
108108

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"
110110
```
111111

112112
## Running Tests for a Specific .NET Target
113113

114114
To only run tests on .NET Core:
115115

116116
``` shell
117-
dotnet test -f netcoreapp3.1 projects/Unit
117+
dotnet test -f net6.0 projects/Unit
118118
```

run-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ fi
1313

1414
cd "$script_dir"
1515

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

0 commit comments

Comments
 (0)