Skip to content

Commit

Permalink
Run tests in release configuration (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhyxionNL authored May 21, 2022
1 parent 5011de8 commit 39910b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 39910b4

Please sign in to comment.