Update CI.

This commit is contained in:
Christian
2022-01-06 20:36:12 +01:00
parent 1cf4a7d6be
commit 3a9397c793
7 changed files with 14 additions and 127 deletions
+14 -7
View File
@@ -16,11 +16,18 @@ jobs:
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore MQTTnet.sln
- name: Build
run: dotnet build --configuration Release --no-restore MQTTnet.sln
- name: Test MQTTnet
run: dotnet test --no-restore --verbosity normal Tests\MQTTnet.Core.Tests\MQTTnet.Tests.csproj
- name: Test AspNetCore
run: dotnet test --no-restore --verbosity normal Tests\MQTTnet.AspNetCore.Tests\MQTTnet.AspNetCore.Tests.csproj
shell: pwsh
run: |
.\Build\build.ps1 1.2.3 4.5.6-rc1
# - name: Install dependencies
# run: dotnet restore MQTTnet.sln
# - name: Build
# run: dotnet build --configuration Release --no-restore MQTTnet.sln
# - name: Test MQTTnet
# run: dotnet test --no-restore --verbosity normal Tests\MQTTnet.Core.Tests\MQTTnet.Tests.csproj
# - name: Test AspNetCore
# run: dotnet test --no-restore --verbosity normal Tests\MQTTnet.AspNetCore.Tests\MQTTnet.AspNetCore.Tests.csproj