@@ -12,6 +12,7 @@ e2e_config: &e2e_config
1212 - test-results/**/*.zip
1313 - test-results/**/*.png
1414 - test-results/**/*error-context.md
15+ - test-results/daemon-logs/**/*.log
1516 plugins : [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
1617 agents :
1718 queue : " {{matrix.platform}}"
@@ -48,77 +49,111 @@ steps:
4849 - github_commit_status :
4950 context : fastlane Helper Tests
5051
51- - label : Unit Tests on {{matrix}}
52- key : unit_tests
53- command : bash .buildkite/commands/run-unit-tests.sh "{{matrix}}"
54- plugins : [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
55- agents :
56- queue : " {{matrix}}"
57- matrix :
58- - mac
59- - windows
60- notify :
61- - github_commit_status :
62- context : Unit Tests
63-
64- # Linux unit tests run on the shared `default` queue inside a Debian Node
65- # container — the same pattern the Linux build group uses. Kept as a
66- # separate step (rather than another matrix entry above) because Mac and
67- # Windows share queue/plugin defaults that Linux doesn't.
68- - label : Unit Tests on linux
69- key : unit_tests_linux
70- command : bash .buildkite/commands/run-unit-tests.sh "linux"
71- agents :
72- queue : default
73- plugins :
74- - $DOCKER_PLUGIN :
75- image : " $NODE_DOCKER_IMAGE"
76- propagate-environment : true
77- mount-buildkite-agent : true
78- notify :
79- - github_commit_status :
80- context : Unit Tests
81-
82- # E2E tests run on supported platform/architecture combinations.
83- # - mac-arm64: Native on Apple Silicon agents
84- # - windows-x64: Native on x64 agents
85- - << : *e2e_config
86- label : E2E Tests on {{matrix.platform}}-{{matrix.arch}}
87- key : e2e_tests
88- # TEMP(rsm-2593): if: removed to force E2E on every push while iterating on Linux E2E setup. Revert before merge.
89-
90- - << : *e2e_config
91- label : E2E Tests on {{matrix.platform}}-{{matrix.arch}} with native PHP
92- key : e2e_tests_native_php
93- env :
94- DEBUG : " pw:browser"
95- STUDIO_RUNTIME : native-php
96- if : (build.branch == 'trunk' || build.tag =~ /^v[0-9]+/ || !build.pull_request.draft) && build.pull_request.labels includes 'native-php'
52+ - group : Unit Tests
53+ key : unit-tests
54+ steps :
55+ - label : Unit Tests on {{matrix}}
56+ key : unit_tests
57+ command : bash .buildkite/commands/run-unit-tests.sh "{{matrix}}"
58+ plugins : [$CI_TOOLKIT_PLUGIN, $NVM_PLUGIN]
59+ agents :
60+ queue : " {{matrix}}"
61+ matrix :
62+ - mac
63+ - windows
64+ notify :
65+ - github_commit_status :
66+ context : Unit Tests
67+
68+ # Linux unit tests run on the shared `default` queue inside a Debian Node
69+ # container — the same pattern the Linux build group uses. Kept as a
70+ # separate step (rather than another matrix entry above) because Mac and
71+ # Windows share queue/plugin defaults that Linux doesn't.
72+ - label : Unit Tests on linux
73+ key : unit_tests_linux
74+ command : bash .buildkite/commands/run-unit-tests.sh "linux"
75+ agents :
76+ queue : default
77+ plugins :
78+ - $DOCKER_PLUGIN :
79+ image : " $NODE_DOCKER_IMAGE"
80+ propagate-environment : true
81+ mount-buildkite-agent : true
82+ notify :
83+ - github_commit_status :
84+ context : Unit Tests
85+
86+ - group : E2E Tests
87+ key : e2e-tests
88+ steps :
89+ # E2E tests run on supported platform/architecture combinations.
90+ # - mac-arm64: Native on Apple Silicon agents
91+ # - windows-x64: Native on x64 agents
92+ - << : *e2e_config
93+ label : E2E Tests on {{matrix.platform}}-{{matrix.arch}}
94+ key : e2e_tests
95+ # TEMP(rsm-2593): if: removed to force E2E on every push while iterating on Linux E2E setup. Revert before merge.
96+
97+ - << : *e2e_config
98+ label : E2E Tests on {{matrix.platform}}-{{matrix.arch}} with native PHP
99+ key : e2e_tests_native_php
100+ env :
101+ DEBUG : " pw:browser"
102+ STUDIO_RUNTIME : native-php
103+ if : (build.branch == 'trunk' || build.tag =~ /^v[0-9]+/ || !build.pull_request.draft) && build.pull_request.labels includes 'native-php'
97104
98105 # Linux E2E tests run on the shared `default` queue inside a Debian Node
99106 # container — the same pattern the Linux build/unit-test steps use. Kept as
100107 # a separate step (rather than another matrix entry on *e2e_config) because
101108 # Mac and Windows share queue/plugin defaults that Linux doesn't.
102- - label : E2E Tests on linux-x64
103- key : e2e_tests_linux
104- command : bash .buildkite/commands/run-e2e-tests.sh "linux" "x64"
105- agents :
106- queue : default
107- plugins :
108- - $DOCKER_PLUGIN :
109- image : " $NODE_DOCKER_IMAGE"
110- propagate-environment : true
111- mount-buildkite-agent : true
112- artifact_paths :
113- - test-results/**/*.zip
114- - test-results/**/*.png
115- - test-results/**/*error-context.md
116- env :
117- DEBUG : " pw:browser"
118- # TEMP(rsm-2593): if: removed to force E2E on every push while iterating on Linux E2E setup. Revert before merge.
119- notify :
120- - github_commit_status :
121- context : E2E Tests
109+ # Linux E2E tests run on the shared `default` queue inside a Debian Node
110+ # container — the same pattern the Linux build/unit-test steps use. Kept as
111+ # a separate step (rather than another matrix entry on *e2e_config) because
112+ # Mac and Windows share queue/plugin defaults that Linux doesn't.
113+ - label : E2E Tests on linux-x64
114+ key : e2e_tests_linux
115+ command : bash .buildkite/commands/run-e2e-tests.sh "linux" "x64"
116+ agents :
117+ queue : default
118+ plugins :
119+ - $DOCKER_PLUGIN :
120+ image : " $NODE_DOCKER_IMAGE"
121+ propagate-environment : true
122+ mount-buildkite-agent : true
123+ artifact_paths :
124+ - test-results/**/*.zip
125+ - test-results/**/*.png
126+ - test-results/**/*error-context.md
127+ - test-results/daemon-logs/**/*.log
128+ env :
129+ DEBUG : " pw:browser"
130+ # TEMP(rsm-2593): if: removed to force E2E on every push while iterating on Linux E2E setup. Revert before merge.
131+ notify :
132+ - github_commit_status :
133+ context : E2E Tests
134+
135+ - label : E2E Tests on linux-x64 with native PHP
136+ key : e2e_tests_linux_native_php
137+ command : bash .buildkite/commands/run-e2e-tests.sh "linux" "x64"
138+ agents :
139+ queue : default
140+ plugins :
141+ - $DOCKER_PLUGIN :
142+ image : " $NODE_DOCKER_IMAGE"
143+ propagate-environment : true
144+ mount-buildkite-agent : true
145+ artifact_paths :
146+ - test-results/**/*.zip
147+ - test-results/**/*.png
148+ - test-results/**/*error-context.md
149+ - test-results/daemon-logs/**/*.log
150+ env :
151+ DEBUG : " pw:browser"
152+ STUDIO_RUNTIME : native-php
153+ if : (build.branch == 'trunk' || build.tag =~ /^v[0-9]+/ || !build.pull_request.draft) && build.pull_request.labels includes 'native-php'
154+ notify :
155+ - github_commit_status :
156+ context : E2E Tests
122157
123158 - label : " :chart_with_upwards_trend: Performance Metrics"
124159 key : metrics
0 commit comments