Skip to content
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
9 changes: 9 additions & 0 deletions .github/workflows/test-smokes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ jobs:
# Empty keeps the standard checkout behavior.
ref: ${{ inputs.ref }}

# macOS runners boot with an unresolvable `.local` hostname, so any process
# resolving its own hostname stalls ~35s (actions/runner-images#14568).
- name: Set a resolvable hostname (macOS)
if: runner.os == 'macOS'
shell: bash
run: |
sudo scutil --set HostName gha-runner
echo "127.0.0.1 gha-runner" | sudo tee -a /etc/hosts

- name: Fix temp dir to use runner one (windows)
if: runner.os == 'Windows'
run: |
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/playwright/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ export default defineConfig({
webServer: [
{
// HTTP server for rendered HTML files
command: 'uv run python -m http.server 8080',
command: 'uv run python -m http.server 8080 --bind 127.0.0.1',
url: 'http://127.0.0.1:8080',
reuseExistingServer: !isCI,
cwd: '../../docs/playwright',
// http.server does a reverse DNS lookup before listening, slow on some hosts
timeout: 120000,
stderr: 'ignore', // Suppress verbose HTTP request logs
},
{
Expand Down
Loading