Skip to content

Bump the react-native group across 1 directory with 3 updates #1019

Bump the react-native group across 1 directory with 3 updates

Bump the react-native group across 1 directory with 3 updates #1019

Triggered via pull request August 7, 2024 16:32
Status Failure
Total duration 7m 55s
Artifacts 1

unit-test.yml

on: pull_request
Compute previous WordPress version
2s
Compute previous WordPress version
Build JavaScript assets for PHP unit tests
4m 34s
Build JavaScript assets for PHP unit tests
PHP coding standards
31s
PHP coding standards
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: gutenberg.php#L32
Use Yoda Condition checks, you must.
PHP coding standards: gutenberg.php#L33
Short array syntax is not allowed
PHP coding standards
Process completed with exit code 1.
JavaScript (Node.js 20) 1/4: packages/stylelint-config/test/selectors.js#L31
Error: expect(received).toBeFalsy() Received: true at toBeFalsy (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:31:58)
JavaScript (Node.js 20) 1/4: packages/stylelint-config/test/selectors.js#L36
Error: expect(received).toHaveLength(expected) Expected length: 0 Received length: 6 Received array: [{"column": 49, "line": 22, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 16, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 21, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}] at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:36:41)
JavaScript (Node.js 20) 1/4: packages/stylelint-config/test/selectors.js#L57
Error: expect(received).toHaveLength(expected) Expected length: 8 Received length: 7 Received array: [{"column": 51, "line": 19, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 12, "line": 17, "rule": "selector-pseudo-element-colon-notation", "severity": "error", "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 14, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 18, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}] at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:57:41)
JavaScript (Node.js 20) 1/4: packages/stylelint-config/test/selectors.js#L63
Error: expect(received).toMatchSnapshot() Snapshot name: `flags warnings with invalid selectors css snapshot matches warnings 1` - Snapshot - 35 + Received + 28 [ { - "column": 15, - "line": 18, - "rule": "declaration-property-unit-allowed-list", - "severity": "error", - "text": "Unexpected unit "%" for property "line-height" (declaration-property-unit-allowed-list)", - }, - { - "column": 1, - "line": 25, - "rule": "selector-class-pattern", + "column": 51, + "line": 19, + "rule": "no-missing-end-of-source-newline", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)", + "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)", }, { - "column": 1, - "line": 1, - "rule": "selector-id-pattern", + "column": 12, + "line": 17, + "rule": "selector-pseudo-element-colon-notation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)", }, { - "column": 1, - "line": 5, - "rule": "selector-id-pattern", + "column": 3, + "line": 2, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 4, - "line": 9, - "rule": "selector-id-pattern", + "column": 3, + "line": 6, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 1, - "line": 21, - "rule": "selector-id-pattern", + "column": 3, + "line": 10, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 10, - "line": 29, - "rule": "selector-pseudo-element-colon-notation", + "column": 3, + "line": 14, + "rule": "indentation", "severity": "error", - "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 12, - "line": 17, - "rule": "string-quotes", + "column": 3, + "line": 18, + "rule": "indentation", "severity": "error", - "text": "Expected double quotes (string-quotes)", + "text": "Expected indentation of 1 tab (indentation)", }, ] at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:63:41)
JavaScript (Node.js 20) 1/4
Process completed with exit code 1.
JavaScript (Node.js 22) 1/4: packages/stylelint-config/test/selectors.js#L31
Error: expect(received).toBeFalsy() Received: true at toBeFalsy (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:31:58)
JavaScript (Node.js 22) 1/4: packages/stylelint-config/test/selectors.js#L36
Error: expect(received).toHaveLength(expected) Expected length: 0 Received length: 6 Received array: [{"column": 49, "line": 22, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 16, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 21, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}] at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:36:41)
JavaScript (Node.js 22) 1/4: packages/stylelint-config/test/selectors.js#L57
Error: expect(received).toHaveLength(expected) Expected length: 8 Received length: 7 Received array: [{"column": 51, "line": 19, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 12, "line": 17, "rule": "selector-pseudo-element-colon-notation", "severity": "error", "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 14, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 18, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}] at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:57:41)
JavaScript (Node.js 22) 1/4: packages/stylelint-config/test/selectors.js#L63
Error: expect(received).toMatchSnapshot() Snapshot name: `flags warnings with invalid selectors css snapshot matches warnings 1` - Snapshot - 35 + Received + 28 [ { - "column": 15, - "line": 18, - "rule": "declaration-property-unit-allowed-list", - "severity": "error", - "text": "Unexpected unit "%" for property "line-height" (declaration-property-unit-allowed-list)", - }, - { - "column": 1, - "line": 25, - "rule": "selector-class-pattern", + "column": 51, + "line": 19, + "rule": "no-missing-end-of-source-newline", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)", + "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)", }, { - "column": 1, - "line": 1, - "rule": "selector-id-pattern", + "column": 12, + "line": 17, + "rule": "selector-pseudo-element-colon-notation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)", }, { - "column": 1, - "line": 5, - "rule": "selector-id-pattern", + "column": 3, + "line": 2, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 4, - "line": 9, - "rule": "selector-id-pattern", + "column": 3, + "line": 6, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 1, - "line": 21, - "rule": "selector-id-pattern", + "column": 3, + "line": 10, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 10, - "line": 29, - "rule": "selector-pseudo-element-colon-notation", + "column": 3, + "line": 14, + "rule": "indentation", "severity": "error", - "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 12, - "line": 17, - "rule": "string-quotes", + "column": 3, + "line": 18, + "rule": "indentation", "severity": "error", - "text": "Expected double quotes (string-quotes)", + "text": "Expected indentation of 1 tab (indentation)", }, ] at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:63:41)
JavaScript (Node.js 22) 1/4
Process completed with exit code 1.
PHP
Process completed with exit code 1.
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript Date Tests (Node.js 22)
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 20) 4/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) 1/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 22) 4/4
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

Artifacts

Produced during runtime
Name Size
build-assets Expired
9.69 MB