@@ -45,7 +45,7 @@ concurrency:
4545permissions : {}
4646
4747jobs :
48- # Tests the WordPress Core build process on multiple operating systems .
48+ # Tests the WordPress Core build process.
4949 test-core-build-process :
5050 name : Core running from ${{ matrix.directory }}
5151 uses : ./.github/workflows/reusable-test-core-build-process.yml
@@ -55,28 +55,31 @@ jobs:
5555 strategy :
5656 fail-fast : false
5757 matrix :
58+ os : [ 'ubuntu-24.04' ]
5859 directory : [ 'src', 'build' ]
5960 include :
6061 # Only prepare artifacts for Playground once.
61- - directory : ' build'
62+ - os : ' ubuntu-24.04'
63+ directory : ' build'
6264 save-build : true
6365 prepare-playground : ${{ github.event_name == 'pull_request' && true || '' }}
6466 with :
65- os : ' ubuntu-24.04 '
67+ os : ${{ matrix.os }}
6668 directory : ${{ matrix.directory }}
6769 save-build : ${{ matrix.save-build && matrix.save-build || false }}
6870 prepare-playground : ${{ matrix.prepare-playground && matrix.prepare-playground || false }}
6971
7072 # Tests the WordPress Core build process on additional operating systems.
7173 #
7274 # This is separate from the job above in order to use stricter conditions when determining when to test additional
73- # operating systems. This avoids unintentionally consuming excessive minutes, as Windows-based jobs consume minutes at
74- # a 2x rate, and MacOS-based jobs at a 10x rate.
75+ # operating systems. This avoids unintentionally consuming excessive minutes. Windows-based jobs consume minutes at a
76+ # 2x rate, and MacOS-based jobs at a 10x rate.
77+ # See https://docs.github.com/en/billing/concepts/product-billing/github-actions#per-minute-rates.
7578 #
7679 # The `matrix` and `runner` contexts are not available for use within `if` expressions. So there is
7780 # currently no way to determine the OS being used on a given job.
7881 # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability.
79- test-core-build-process-extended :
82+ test-core-build-process-additional-os :
8083 name : Core running from ${{ matrix.directory }}
8184 uses : ./.github/workflows/reusable-test-core-build-process.yml
8285 permissions :
9194 os : ${{ matrix.os }}
9295 directory : ${{ matrix.directory }}
9396
94- # Tests the Gutenberg plugin build process on multiple operating systems when run within a wordpress-develop checkout.
97+ # Tests the Gutenberg plugin build process within a wordpress-develop checkout.
9598 test-gutenberg-build-process :
9699 name : Gutenberg running from ${{ matrix.directory }}
97100 uses : ./.github/workflows/reusable-test-gutenberg-build-process.yml
@@ -101,20 +104,23 @@ jobs:
101104 strategy :
102105 fail-fast : false
103106 matrix :
107+ os : [ 'ubuntu-24.04' ]
104108 directory : [ 'src', 'build' ]
105109 with :
110+ os : ${{ matrix.os }}
106111 directory : ${{ matrix.directory }}
107112
108113 # Tests the Gutenberg plugin build process on additional operating systems.
109114 #
110115 # This is separate from the job above in order to use stricter conditions when determining when to test additional
111- # operating systems. This avoids unintentionally consuming excessive minutes, as Windows-based jobs consume minutes at
112- # a 2x rate, and MacOS-based jobs at a 10x rate.
116+ # operating systems. This avoids unintentionally consuming excessive minutes. Windows-based jobs consume minutes at a
117+ # 2x rate, and MacOS-based jobs at a 10x rate.
118+ # See https://docs.github.com/en/billing/concepts/product-billing/github-actions#per-minute-rates.
113119 #
114120 # The `matrix` and `runner` contexts are not available for use within `if` expressions. So there is
115121 # currently no way to determine the OS being used on a given job.
116122 # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability.
117- test-gutenberg-build-process-extended :
123+ test-gutenberg-build-process-additional-os :
118124 name : Gutenberg running from ${{ matrix.directory }}
119125 uses : ./.github/workflows/reusable-test-gutenberg-build-process.yml
120126 permissions :
@@ -135,7 +141,7 @@ jobs:
135141 permissions :
136142 actions : read
137143 contents : read
138- needs : [ test-core-build-process, test-core-build-process-extended , test-gutenberg-build-process, test-gutenberg-build-process-extended ]
144+ needs : [ test-core-build-process, test-core-build-process-additional-os , test-gutenberg-build-process, test-gutenberg-build-process-additional-os ]
139145 if : ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
140146 with :
141147 calling_status : ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
0 commit comments