Skip to content

Commit

Permalink
Speedify tests on Windows ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored Jan 22, 2025
1 parent 974b724 commit 0853e69
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/bench.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Set-StrictMode -Version latest
$ErrorActionPreference = 'Stop'

hurl tests_ok/bench.hurl
hurl --ipv4 tests_ok/bench.hurl
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/bench.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -Eeuo pipefail

hurl tests_ok/bench.hurl
hurl --ipv4 tests_ok/bench.hurl
4 changes: 2 additions & 2 deletions integration/hurl/tests_ok/html.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ $ErrorActionPreference = 'Stop'

# Some tests are failing but we want to continue until the end
$ErrorActionPreference = "Continue"
hurl --test `
hurl --ipv4 --test `
--report-html build/tmp/ `
--glob "tests_ok/test.*.hurl"

hurl --test `
hurl --ipv4 --test `
--report-html build/tmp/ `
tests_ok/assert_body.hurl `
tests_ok/assert_header.hurl `
Expand Down
4 changes: 2 additions & 2 deletions integration/hurl/tests_ok/html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ set -Eeuo pipefail

# Some tests are failing but we want to continue until the end
set +euo pipefail
hurl --test \
hurl --ipv4 --test \
--report-html build/a/b/c/ \
--glob "tests_ok/test.*.hurl"

hurl --test \
hurl --ipv4 --test \
--report-html build/a/b/c/ \
tests_ok/assert_body.hurl \
tests_ok/assert_header.hurl \
Expand Down
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/max_redirect_infinite.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Set-StrictMode -Version latest
$ErrorActionPreference = 'Stop'

hurl --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl
hurl --ipv4 --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/max_redirect_infinite.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -Eeuo pipefail

hurl --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl
hurl --ipv4 --location --max-redirs -1 tests_ok/max_redirect_infinite.hurl
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/max_redirect_infinite_option.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Set-StrictMode -Version latest
$ErrorActionPreference = 'Stop'

hurl tests_ok/max_redirect_infinite_option.hurl
hurl --ipv4 tests_ok/max_redirect_infinite_option.hurl
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/max_redirect_infinite_option.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -Eeuo pipefail

hurl tests_ok/max_redirect_infinite_option.hurl
hurl --ipv4 tests_ok/max_redirect_infinite_option.hurl
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/parallel_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (Test-Path build/parallel-all.txt) {
# Some tests are failing but we want to continue until the end
$ErrorActionPreference = 'Continue'

hurl --parallel --test `
hurl --ipv4 --parallel --test `
--report-tap build/parallel-all.txt `
tests_ok/assert_body.hurl `
tests_ok/assert_header.hurl `
Expand Down
2 changes: 1 addition & 1 deletion integration/hurl/tests_ok/parallel_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rm -f build/parallel-all.txt
# Some tests are failing but we want to continue until the end
set +euo pipefail

hurl --parallel --test \
hurl --ipv4 --parallel --test \
--report-tap build/parallel-all.txt \
tests_ok/assert_body.hurl \
tests_ok/assert_header.hurl \
Expand Down

0 comments on commit 0853e69

Please sign in to comment.