Skip to content

Commit

Permalink
Update package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored Jan 22, 2025
1 parent 6af654f commit c10e81c
Showing 1 changed file with 17 additions and 33 deletions.
50 changes: 17 additions & 33 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,6 @@ jobs:
run:
shell: pwsh
steps:
- name: debug
run: |
Write-Host "======== ipv6"
Get-NetAdapterBinding -ComponentID ms_tcpip6
ping localhost
Write-Host "======== disable ipv6"
Disable-NetAdapterBinding -Name "Ethernet" -ComponentID ms_tcpip6
Write-Host "======== ipv6"
Get-NetAdapterBinding -ComponentID ms_tcpip6
ping localhost
exit 1
Get-ChildItem -Path C:\ -Filter hosts -Recurse -ErrorAction SilentlyContinue
Get-ChildItem -Path D:\ -Filter hosts -Recurse -ErrorAction SilentlyContinue
exit 1
- name: Checkout repository
uses: actions/checkout@v4.2.2
with:
Expand All @@ -51,25 +37,23 @@ jobs:
.\bin\activate_python3_venv.ps1
.\bin\test\test_prerequisites.ps1
choco install -y hurl
Write-Host "======== Get-NetIPInterface"
Get-NetIPInterface
ping localhost
Write-Host "======== curl ipv6 resolution time google"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
curl --location -6 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s https://google.fr
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== curl ipv4 resolution time google"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
curl --location -4 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s https://google.fr
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== curl ipv6 resolution time"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
curl -6 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s http://localhost:8000/hello
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== curl ipv4 resolution time"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
curl -4 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s http://127.0.0.1:8000/hello
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Set-Alias -Name hurl -Value "hurl --ipv4"
#Write-Host "======== curl ipv6 resolution time google"
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#curl --location -6 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s https://google.fr
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#Write-Host "======== curl ipv4 resolution time google"
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#curl --location -4 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s https://google.fr
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#Write-Host "======== curl ipv6 resolution time"
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#curl -6 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s http://localhost:8000/hello
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#Write-Host "======== curl ipv4 resolution time"
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
#curl -4 -w "DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nStart Transfer: %{time_starttransfer}s\nTotal: %{time_total}s\n" -o null -s http://127.0.0.1:8000/hello
#Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== echo | hurl 127.0.0.1"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
pwsh -Command "echo 'GET http://127.0.0.1:8000/hello' | hurl --test --very-verbose"
Expand Down

0 comments on commit c10e81c

Please sign in to comment.