Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests in release configuration #183

Merged
merged 4 commits into from
May 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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