|
32 | 32 | # Confirm any changes to relevant workflow files. |
33 | 33 | - '.github/workflows/test-build-processes.yml' |
34 | 34 | - '.github/workflows/reusable-test-core-build-process.yml' |
35 | | - - '.github/workflows/reusable-test-gutenberg-build-process.yml' |
36 | 35 | workflow_dispatch: |
37 | 36 |
|
38 | 37 | # Cancels all previous workflow runs for pull requests that have not completed. |
|
98 | 97 | os: ${{ matrix.os }} |
99 | 98 | directory: ${{ matrix.directory }} |
100 | 99 |
|
101 | | - # Tests the Gutenberg plugin build process within a wordpress-develop checkout. |
102 | | - test-gutenberg-build-process: |
103 | | - name: Gutenberg running from ${{ matrix.directory }} |
104 | | - uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml |
105 | | - permissions: |
106 | | - contents: read |
107 | | - if: ${{ github.repository == 'WordPress/wordpress-develop' }} |
108 | | - strategy: |
109 | | - fail-fast: false |
110 | | - matrix: |
111 | | - os: [ 'ubuntu-24.04' ] |
112 | | - directory: [ 'src', 'build' ] |
113 | | - with: |
114 | | - os: ${{ matrix.os }} |
115 | | - directory: ${{ matrix.directory }} |
116 | | - |
117 | | - # Tests the Gutenberg plugin build process on additional operating systems. |
118 | | - # |
119 | | - # This is separate from the job above in order to use stricter conditions when determining when to test additional |
120 | | - # operating systems. This avoids unintentionally consuming excessive minutes. Windows-based jobs consume minutes at a |
121 | | - # 2x rate, and MacOS-based jobs at a 10x rate. |
122 | | - # See https://docs.github.com/en/billing/concepts/product-billing/github-actions#per-minute-rates. |
123 | | - # |
124 | | - # The `matrix` and `runner` contexts are not available for use within `if` expressions. So there is |
125 | | - # currently no way to determine the OS being used on a given job. |
126 | | - # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability. |
127 | | - test-gutenberg-build-process-additional-os: |
128 | | - name: Gutenberg running from ${{ matrix.directory }} |
129 | | - uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml |
130 | | - permissions: |
131 | | - contents: read |
132 | | - if: ${{ github.repository == 'WordPress/wordpress-develop' }} |
133 | | - strategy: |
134 | | - fail-fast: false |
135 | | - matrix: |
136 | | - os: [ 'macos-15', 'windows-2025' ] |
137 | | - directory: [ 'src', 'build' ] |
138 | | - with: |
139 | | - os: ${{ matrix.os }} |
140 | | - directory: ${{ matrix.directory }} |
141 | | - |
142 | 100 | slack-notifications: |
143 | 101 | name: Slack Notifications |
144 | 102 | uses: ./.github/workflows/slack-notifications.yml |
|
0 commit comments