diff --git a/.appveyor-mac.yml b/.appveyor-mac.yml index dfa88c517..64507fa8c 100644 --- a/.appveyor-mac.yml +++ b/.appveyor-mac.yml @@ -18,7 +18,7 @@ build_script: test_script: # TODO: Track down why macos fails to determine the local interface for IPv6 destinations on approx. every second test run. # possibly to do with different vm configs but same thing is happening on both appveyor and GitHub Actions CI's. -- dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --filter "FullyQualifiedName!=SIPSorcery.SIP.UnitTests.SIPTransportUnitTest.IPv4TlsLoopbackSendReceiveTest&FullyQualifiedName!=SIPSorcery.SIP.UnitTests.SIPTransportUnitTest.IPv6TlsLoopbackSendReceiveTest&FullyQualifiedName!=SIPSorcery.Sys.UnitTests.NetServicesUnitTest.GetLocalForInternetIPv6AdressUnitTest&FullyQualifiedName!=SIPSorcery.Net.UnitTests.DtlsUtilsUnitTest.LoadSecretFromArchiveUnitTest&FullyQualifiedName!=SIPSorcery.Net.UnitTests.RtpIceChannelUnitTest.CheckPeerReflexiveReplacedByHostCandidatesUnitTest&FullyQualifiedName!=CheckSuccessfulConnectionForHostCandidatesUnitTest" +- dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --framework netcoreapp3.1 #on_finish: # - sh: export APPVEYOR_SSH_BLOCK=true # - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - diff --git a/.appveyor-ubuntu.yml b/.appveyor-ubuntu.yml index e20d3df7b..2ae49031d 100644 --- a/.appveyor-ubuntu.yml +++ b/.appveyor-ubuntu.yml @@ -14,9 +14,10 @@ init: build_script: - uname -a - dotnet --version -#- dotnet build src/SIPSorcery.sln --framework netcoreapp3.1 test_script: -- dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release + - sh: + dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --framework netcoreapp3.1 + dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --framework net5 #on_finish: # - sh: export APPVEYOR_SSH_BLOCK=true # - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - \ No newline at end of file diff --git a/.github/workflows/sipsorcery-core-mac.yml b/.github/workflows/sipsorcery-core-mac.yml index 5a8d7e36a..c95d85e07 100644 --- a/.github/workflows/sipsorcery-core-mac.yml +++ b/.github/workflows/sipsorcery-core-mac.yml @@ -17,6 +17,6 @@ jobs: - name: Install dependencies run: dotnet restore src/SIPSorcery.sln - name: Build - run: dotnet build src/SIPSorcery.sln -c Release --no-restore --framework ${{ matrix.framework }} + run: dotnet build src/SIPSorcery.sln -c Release --framework ${{ matrix.framework }} - name: Unit tests run: dotnet test test/unit/SIPSorcery.UnitTests.csproj -c Release --no-build --framework ${{ matrix.framework }} \ No newline at end of file