diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 373050424..306e40eb8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -168,7 +168,12 @@ jobs: with: fetch-depth: 0 - - name: Setup dotnet + - name: Setup dotnet 6 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '6.x' + + - name: Setup dotnet 8 uses: actions/setup-dotnet@v4 with: dotnet-version: '8.x' @@ -184,22 +189,26 @@ jobs: - name: Check nats-server run: nats-server -v - - name: Get tools - run: | - Invoke-WebRequest https://download.jetbrains.com/resharper/JetBrains.dotMemoryUnit.3.2.20220510.zip -OutFile dotMemoryUnit.zip - Expand-Archive dotMemoryUnit.zip - $current_path = (Get-Item .).FullName - echo "$current_path\dotMemoryUnit" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - dotnet tool install --global NUnit.ConsoleRunner.NetCore + # Skip the memory tests for now as they are not stable + + # - name: Get tools + # run: | + # Invoke-WebRequest https://download.jetbrains.com/resharper/JetBrains.dotMemoryUnit.3.2.20220510.zip -OutFile dotMemoryUnit.zip + # Expand-Archive dotMemoryUnit.zip + # $current_path = (Get-Item .).FullName + # echo "$current_path\dotMemoryUnit" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + # dotnet tool install --global NUnit.ConsoleRunner.NetCore - name: Build run: dotnet build -c Release - - name: Memory Test (net6.0) - run: | - tasklist | grep -i nats-server && taskkill -F -IM nats-server.exe - nats-server.exe -v - dotMemoryUnit $env:userprofile\.dotnet\tools\nunit.exe --propagate-exit-code -- .\tests\NATS.Client.Core.MemoryTests\bin\Release\net6.0\NATS.Client.Core.MemoryTests.dll + # Skip the memory tests for now as they are not stable + + # - name: Memory Test (net6.0) + # run: | + # tasklist | grep -i nats-server && taskkill -F -IM nats-server.exe + # nats-server.exe -v + # dotMemoryUnit $env:userprofile\.dotnet\tools\nunit.exe --propagate-exit-code -- .\tests\NATS.Client.Core.MemoryTests\bin\Release\net6.0\NATS.Client.Core.MemoryTests.dll - name: Platform Test run: |