Skip to content

Commit a3fa1de

Browse files
aledlieclaude
andcommitted
fix(ci): start Jekyll server before performance tests
The performance tests were failing because they tried to connect to localhost:4000 but the server was never started. Added server startup and wait-on steps before running Lighthouse tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8fa224a commit a3fa1de

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ jobs:
4646
run: npm run test:e2e
4747
env:
4848
CI: true
49-
49+
50+
- name: Start Jekyll server for performance tests
51+
run: bundle exec jekyll serve --detach
52+
53+
- name: Wait for Jekyll server
54+
run: npx wait-on http://localhost:4000 --timeout 60000
55+
5056
- name: Run performance tests
5157
run: npm run test:performance
5258
env:

0 commit comments

Comments
 (0)