WIP Experiment: combine gradient and background image into background-image
#110712
unit-test.yml
on: pull_request
Compute previous WordPress version
2s
Build JavaScript assets for PHP unit tests
4m 15s
PHP coding standards
24s
Mobile
4m 3s
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
PHP
0s
Annotations
39 errors and 11 warnings
PHP coding standards
Process completed with exit code 2.
|
PHP coding standards:
packages/style-engine/class-wp-style-engine.php#L434
Tabs must be used to indent lines; spaces are not allowed
|
PHP coding standards:
lib/class-wp-theme-json-gutenberg.php#L2339
Tabs must be used to indent lines; spaces are not allowed
|
PHP coding standards:
lib/block-supports/colors.php#L108
Line indented incorrectly; expected at least 1 tabs, found 0
|
PHP coding standards:
lib/block-supports/colors.php#L108
Spaces must be used for mid-line alignment; tabs are not allowed
|
PHP coding standards
Process completed with exit code 1.
|
JavaScript (Node.js 20) 4/4:
packages/style-engine/src/test/index.js#L272
Error: expect(received).toEqual(expected) // deep equality
- Expected - 6
+ Received + 1
@@ -3,15 +3,10 @@
"key": "color",
"selector": ".some-selector",
"value": "#dddddd",
},
Object {
- "key": "background",
- "selector": ".some-selector",
- "value": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(33,32,33) 42%,rgb(65,88,208) 100%)",
- },
- Object {
"key": "backgroundColor",
"selector": ".some-selector",
"value": "#555555",
},
Object {
@@ -110,11 +105,11 @@
"value": "10px 10px red",
},
Object {
"key": "backgroundImage",
"selector": ".some-selector",
- "value": "url( 'https://example.com/image.jpg' )",
+ "value": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(33,32,33) 42%,rgb(65,88,208) 100%), url( 'https://example.com/image.jpg' )",
},
Object {
"key": "backgroundPosition",
"selector": ".some-selector",
"value": "50% 50%",
at Object.toEqual (/home/runner/work/gutenberg/gutenberg/packages/style-engine/src/test/index.js:272:5)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (Node.js 20) 4/4
Process completed with exit code 1.
|
JavaScript (Node.js 22) 4/4:
packages/style-engine/src/test/index.js#L272
Error: expect(received).toEqual(expected) // deep equality
- Expected - 6
+ Received + 1
@@ -3,15 +3,10 @@
"key": "color",
"selector": ".some-selector",
"value": "#dddddd",
},
Object {
- "key": "background",
- "selector": ".some-selector",
- "value": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(33,32,33) 42%,rgb(65,88,208) 100%)",
- },
- Object {
"key": "backgroundColor",
"selector": ".some-selector",
"value": "#555555",
},
Object {
@@ -110,11 +105,11 @@
"value": "10px 10px red",
},
Object {
"key": "backgroundImage",
"selector": ".some-selector",
- "value": "url( 'https://example.com/image.jpg' )",
+ "value": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(33,32,33) 42%,rgb(65,88,208) 100%), url( 'https://example.com/image.jpg' )",
},
Object {
"key": "backgroundPosition",
"selector": ".some-selector",
"value": "50% 50%",
at Object.toEqual (/home/runner/work/gutenberg/gutenberg/packages/style-engine/src/test/index.js:272:5)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (Node.js 22) 4/4
Process completed with exit code 1.
|
PHP 7.2 (WP previous major version) on ubuntu-latest
Process completed with exit code 1.
|
PHP 8.2 (WP previous major version) on ubuntu-latest
Process completed with exit code 1.
|
PHP 7.4 multisite on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.4 multisite on ubuntu-latest
The operation was canceled.
|
PHP 8.2 multisite on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 8.2 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.3 multisite on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.3 multisite on ubuntu-latest
The operation was canceled.
|
PHP 8.0 multisite on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 8.0 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.4 (WP previous major version) on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.4 (WP previous major version) on ubuntu-latest
The operation was canceled.
|
PHP 7.3 on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.3 on ubuntu-latest
The operation was canceled.
|
PHP 7.2 on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.2 on ubuntu-latest
The operation was canceled.
|
PHP 8.1 multisite on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 8.1 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.2 multisite on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.2 multisite on ubuntu-latest
The operation was canceled.
|
PHP 8.1 on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 8.1 on ubuntu-latest
The operation was canceled.
|
PHP 7.4 on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 7.4 on ubuntu-latest
The operation was canceled.
|
PHP 8.2 on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 8.2 on ubuntu-latest
The operation was canceled.
|
PHP 8.0 on ubuntu-latest
The job was canceled because "_7_2_previous_major_versi" failed.
|
PHP 8.0 on ubuntu-latest
The operation was canceled.
|
PHP
Process completed with exit code 1.
|
PHP coding standards:
lib/block-supports/colors.php#L90
Unused variable $has_gradients_support.
|
JavaScript Date Tests (Node.js 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-assets
Expired
|
9.64 MB |
|