From 73e8845af67d40ec5987f90df041850145876b59 Mon Sep 17 00:00:00 2001 From: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com> Date: Sat, 21 May 2022 19:36:22 +0200 Subject: [PATCH 1/4] Run tests in release --- .github/workflows/pull requests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull requests.yml b/.github/workflows/pull requests.yml index cfff5c98..23081b19 100644 --- a/.github/workflows/pull requests.yml +++ b/.github/workflows/pull requests.yml @@ -26,7 +26,7 @@ jobs: run: dotnet build PacketDotNet/PacketDotNet.csproj --framework "netstandard2.0" -c Release - name: Test - run: dotnet test --framework "net6.0" + run: dotnet test -c Release -f "net6.0" windows: runs-on: windows-latest @@ -70,7 +70,7 @@ jobs: run: dotnet build -c Release - name: Test - run: dotnet test + run: dotnet test -c Release - name: Publish net47 uses: actions/upload-artifact@v2 From 03ca02abb9b802ca98aa4394640b21a5a0d48655 Mon Sep 17 00:00:00 2001 From: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com> Date: Sat, 21 May 2022 19:37:42 +0200 Subject: [PATCH 2/4] Update pull requests.yml --- .github/workflows/pull requests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull requests.yml b/.github/workflows/pull requests.yml index 23081b19..0cbfd601 100644 --- a/.github/workflows/pull requests.yml +++ b/.github/workflows/pull requests.yml @@ -23,7 +23,7 @@ jobs: run: sudo -E bash Scripts/install-libpcap.sh - name: Build - run: dotnet build PacketDotNet/PacketDotNet.csproj --framework "netstandard2.0" -c Release + run: dotnet build PacketDotNet/PacketDotNet.csproj -f "netstandard2.0" -c Release - name: Test run: dotnet test -c Release -f "net6.0" From bf0688124538fca7c65d67f25bff46d973eb7199 Mon Sep 17 00:00:00 2001 From: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com> Date: Sat, 21 May 2022 19:38:25 +0200 Subject: [PATCH 3/4] Update master.yml --- .github/workflows/master.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 8d39418e..0d32fb09 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -23,10 +23,10 @@ jobs: run: sudo -E bash Scripts/install-libpcap.sh - name: Build - run: dotnet build PacketDotNet/PacketDotNet.csproj --framework "netstandard2.0" -c Release + run: dotnet build PacketDotNet/PacketDotNet.csproj -c Release -f "netstandard2.0" - name: Test - run: dotnet test --framework "net6.0" + run: dotnet test -c Release -f "net6.0" windows: runs-on: windows-latest @@ -70,7 +70,7 @@ jobs: run: dotnet build -c Release - name: Test - run: dotnet test + run: dotnet test -c Release - name: Publish net47 uses: actions/upload-artifact@v2 From 1bd2f4ec8f36d99ac320c3bacb46c30e24e264cd Mon Sep 17 00:00:00 2001 From: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com> Date: Sat, 21 May 2022 19:38:37 +0200 Subject: [PATCH 4/4] Update pull requests.yml --- .github/workflows/pull requests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull requests.yml b/.github/workflows/pull requests.yml index 0cbfd601..03862535 100644 --- a/.github/workflows/pull requests.yml +++ b/.github/workflows/pull requests.yml @@ -23,7 +23,7 @@ jobs: run: sudo -E bash Scripts/install-libpcap.sh - name: Build - run: dotnet build PacketDotNet/PacketDotNet.csproj -f "netstandard2.0" -c Release + run: dotnet build PacketDotNet/PacketDotNet.csproj -c Release -f "netstandard2.0" - name: Test run: dotnet test -c Release -f "net6.0"