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 2dd15a9 commit 0b725e6
Showing 1 changed file with 3 additions and 42 deletions.
45 changes: 3 additions & 42 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,6 @@ jobs:
run:
shell: pwsh
steps:
- name: debug
run: |
Write-Host "======== 1"
ls C:\Windows\System32\drivers\etc\hosts
cat C:\Windows\System32\drivers\etc\hosts
Write-Host "======== 2"
Add-Content -Path "C:\Windows\System32\drivers\etc\hosts" -Value "127.0.0.1 localhost"
cat C:\Windows\System32\drivers\etc\hosts
exit 1
Write-Host "======== 1"
netsh interface ipv6 show prefixpolicies
ping localhost
Write-Host "======== 2"
netsh interface ipv6 set prefixpolicy ::ffff:0:0/96 45 4
netsh interface ipv6 show prefixpolicies
ping localhost
exit 1
- name: Checkout repository
uses: actions/checkout@v4.2.2
with:
Expand All @@ -54,23 +37,9 @@ jobs:
.\bin\activate_python3_venv.ps1
.\bin\test\test_prerequisites.ps1
choco install -y hurl
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 "======== etc/hosts"
Add-Content -Path "C:\Windows\System32\drivers\etc\hosts" -Value "127.0.0.1 localhost"
cat C:\Windows\System32\drivers\etc\hosts
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 All @@ -79,14 +48,6 @@ jobs:
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
pwsh -Command "echo 'GET http://localhost:8000/hello' | hurl --test --very-verbose"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== hurl bench.hurl ipv4"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
pwsh -Command "hurl --ipv4 --test integration/hurl/tests_ok/bench.hurl"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== hurl bench.hurl ipv6"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
pwsh -Command "hurl --ipv6 --test integration/hurl/tests_ok/bench.hurl"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
Write-Host "======== by ps1"
Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
pwsh -Command "integration/hurl/tests_ok/bench.ps1"
Expand Down

0 comments on commit 0b725e6

Please sign in to comment.