Skip to content

🎁 Use commonDirectiveOptions in all directives #3176

🎁 Use commonDirectiveOptions in all directives

🎁 Use commonDirectiveOptions in all directives #3176

Triggered via pull request November 20, 2024 10:38
Status Failure
Total duration 2m 9s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 12 warnings
tests/proof.spec.ts > proof directive > proof directive parses: packages/myst-ext-proof/tests/proof.spec.ts#L89
AssertionError: expected { Object (type, children) } to deeply equal { Object (type, children) } - Expected + Received Object { "children": Array [ Object { "args": "Proof Title", "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "Proof Title", }, ], "type": "admonitionTitle", }, Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 2, }, "start": Object { "column": 1, "line": 2, }, }, "type": "text", "value": "Proof content", }, ], "position": Object { "end": Object { "column": 1, "line": 2, }, "start": Object { "column": 1, "line": 2, }, }, "type": "paragraph", }, ], - "enumerated": true, + "enumerated": undefined, "kind": "proof", "type": "proof", }, ], "name": "prf:proof", + "options": undefined, "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 1, }, }, + "tight": undefined, "type": "mystDirective", "value": "Proof content", }, ], "type": "root", } ❯ tests/proof.spec.ts:89:20
tests/proof.spec.ts > proof directive > proof directive parses: packages/myst-ext-proof/tests/proof.spec.ts#L89
AssertionError: expected { Object (type, children) } to deeply equal { Object (type, children) } - Expected + Received Object { "children": Array [ Object { "args": "Proof Title", "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "Proof Title", }, ], "type": "admonitionTitle", }, Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 2, }, "start": Object { "column": 1, "line": 2, }, }, "type": "text", "value": "Proof content", }, ], "position": Object { "end": Object { "column": 1, "line": 2, }, "start": Object { "column": 1, "line": 2, }, }, "type": "paragraph", }, ], - "enumerated": true, + "enumerated": undefined, "kind": "proof", "type": "proof", }, ], "name": "prf:proof", + "options": undefined, "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 1, }, }, + "tight": undefined, "type": "mystDirective", "value": "Proof content", }, ], "type": "root", } ❯ tests/proof.spec.ts:89:20
Testing on node 18
Process completed with exit code 1.
Testing on node 22.4.x
Process completed with exit code 1.
Testing on node 20
The job was canceled because "_22_4_x" failed.
tests/proof.spec.ts > proof directive > proof directive parses: packages/myst-ext-proof/tests/proof.spec.ts#L89
AssertionError: expected { Object (type, children) } to deeply equal { Object (type, children) } - Expected + Received Object { "children": Array [ Object { "args": "Proof Title", "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "Proof Title", }, ], "type": "admonitionTitle", }, Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 2, }, "start": Object { "column": 1, "line": 2, }, }, "type": "text", "value": "Proof content", }, ], "position": Object { "end": Object { "column": 1, "line": 2, }, "start": Object { "column": 1, "line": 2, }, }, "type": "paragraph", }, ], - "enumerated": true, + "enumerated": undefined, "kind": "proof", "type": "proof", }, ], "name": "prf:proof", + "options": undefined, "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 1, }, }, + "tight": undefined, "type": "mystDirective", "value": "Proof content", }, ], "type": "root", } ❯ tests/proof.spec.ts:89:20
Testing on node 20
The operation was canceled.
lint: packages/myst-directives/src/include.ts#L2
'normalizeLabel' is defined but never used
lint: packages/myst-frontmatter/src/licenses/schema.ts#L3
'LicenseSchema' is assigned a value but never used
lint: packages/myst-transforms/src/links/github.ts#L7
'TRANSFORM_SOURCE' is assigned a value but never used
lint: packages/myst-transforms/src/links/github.ts#L106
'file' is defined but never used
lint: packages/myst-cli-utils/src/session.ts#L10
'url' is defined but never used
lint: packages/myst-cli-utils/src/session.ts#L10
'init' is defined but never used
lint: packages/myst-cli/src/build/cff.ts#L18
'parseMyst' is defined but never used
lint: packages/myst-cli/src/build/typst.ts#L69
'templateYml' is defined but never used
lint: packages/myst-cli/src/build/typst.ts#L70
'printGlossaries' is defined but never used
lint: packages/myst-cli/src/init/jupyter-book/toc.ts#L335
'_' is assigned a value but never used
Testing on node 22.4.x
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Testing on node 18
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/