Skip to content

Add a method to reject a TCP connection #1016

Add a method to reject a TCP connection

Add a method to reject a TCP connection #1016

Workflow file for this run

name: Netperf
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/workflows/netperf.yml
- .gitmodules
- scripts/secnetperf.ps1
- scripts/secnetperf-helpers.psm1
- scripts/prepare-machine.ps1
- src/bin/**
- src/core/**
- src/platform/**
- src/perf/**
- submodules/openssl/**
- submodules/openssl3/**
- submodules/xdp-for-windows/**
pull_request:
branches:
- main
paths:
- .github/workflows/netperf.yml
- .gitmodules
- scripts/secnetperf.ps1
- scripts/secnetperf-helpers.psm1
- scripts/prepare-machine.ps1
- src/bin/**
- src/core/**
- src/platform/**
- src/perf/**
- submodules/openssl/**
- submodules/openssl3/**
- submodules/xdp-for-windows/**
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: perf-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: read-all
jobs:
run:
name: Run Perf
runs-on: windows-latest
steps:
- name: Run NetPerf Workflow
timeout-minutes: 90
shell: pwsh
run: |
$url = "https://github.com/raw/microsoft/netperf/main/run-workflow.ps1"
if ('${{ secrets.NET_PERF_TRIGGER }}' -eq '') {
Write-Host "Not able to run because no secrets are available!"
return
}
iex "& { $(irm $url) } ${{ secrets.NET_PERF_TRIGGER }} quic ${{ github.sha }} ${{ github.ref }} ${{ github.event.pull_request.number }}"