Skip to content

🎁 Use commonDirectiveOptions in all directives #3175

🎁 Use commonDirectiveOptions in all directives

🎁 Use commonDirectiveOptions in all directives #3175

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

ci.yml

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

Annotations

6 errors and 11 warnings
tests/exercise.spec.ts > exercise directive > exercise directive parses: packages/myst-ext-exercise/tests/exercise.spec.ts#L61
AssertionError: expected { Object (type, children) } to deeply equal { Object (type, children) } - Expected + Received Object { "children": Array [ Object { "args": "Exercise Title", "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "type": "text", "value": "Exercise Title", }, ], "type": "admonitionTitle", }, Object { "children": Array [ Object { "type": "text", "value": "Exercise content", }, ], "type": "paragraph", }, ], - "enumerated": true, + "enumerated": undefined, + "hidden": undefined, "identifier": "ex-1", "label": "ex-1", "type": "exercise", }, ], "name": "exercise", "options": Object { "label": "ex-1", }, + "tight": undefined, "type": "mystDirective", "value": "Exercise content", }, ], "type": "root", } ❯ tests/exercise.spec.ts:61:37
Testing on node 20
Process completed with exit code 1.
Testing on node 18
The job was canceled because "_20" failed.
tests/exercise.spec.ts > exercise directive > exercise directive parses: packages/myst-ext-exercise/tests/exercise.spec.ts#L61
AssertionError: expected { Object (type, children) } to deeply equal { Object (type, children) } - Expected + Received Object { "children": Array [ Object { "args": "Exercise Title", "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "type": "text", "value": "Exercise Title", }, ], "type": "admonitionTitle", }, Object { "children": Array [ Object { "type": "text", "value": "Exercise content", }, ], "type": "paragraph", }, ], - "enumerated": true, + "enumerated": undefined, + "hidden": undefined, "identifier": "ex-1", "label": "ex-1", "type": "exercise", }, ], "name": "exercise", "options": Object { "label": "ex-1", }, + "tight": undefined, "type": "mystDirective", "value": "Exercise content", }, ], "type": "root", } ❯ tests/exercise.spec.ts:61:37
Testing on node 18
The operation was canceled.
Testing on node 22.4.x
The job was canceled because "_20" failed.
lint: packages/myst-frontmatter/src/licenses/schema.ts#L3
'LicenseSchema' is assigned a value 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-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/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
lint: packages/myst-cli/src/init/jupyter-book/toc.ts#L383
'_' is assigned a value but never used
Testing on node 20
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/