Skip to content

⬆️ Add simple upgrade/downgrade package for MyST AST #3367

⬆️ Add simple upgrade/downgrade package for MyST AST

⬆️ Add simple upgrade/downgrade package for MyST AST #3367

Triggered via pull request January 23, 2025 15:03
Status Failure
Total duration 2m 22s
Artifacts

ci.yml

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

Annotations

4 errors and 12 warnings
src/downgrade/version_2_1.spec.ts > downgrade 2->1 > downgrades a v2 AST with outputs: packages/myst-compat/src/downgrade/version_2_1.spec.ts#L157
AssertionError: expected { Object (type, children) } to strictly equal { Object (type, children) } - Expected + Received Object { "children": Array [ Object { "children": Array [ Object { - "_future_ast": Object { "children": Array [ Object { "children": Array [], "jupyter_data": Object { "data": Object { "application/octet-stream": Object { "content_type": "application/octet-stream", "hash": "def456", "path": "/my/path/def456.png", }, }, "execution_count": 3, "metadata": Object {}, "output_type": "display_data", }, "type": "output", }, ], "id": "abc123", "type": "outputs", - }, - "children": Array [], - "data": Array [ - Object { - "data": Object { - "application/octet-stream": Object { - "content_type": "application/octet-stream", - "hash": "def456", - "path": "/my/path/def456.png", - }, - }, - "execution_count": 3, - "metadata": Object {}, - "output_type": "display_data", - }, - ], - "id": "abc123", - "type": "output", }, ], "type": "block", }, ], "type": "root", } ❯ src/downgrade/version_2_1.spec.ts:157:17
Testing on node 20
Process completed with exit code 1.
Testing on node 18
The job was canceled because "_20" failed.
Testing on node 22.4.x
The job was canceled because "_20" failed.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: packages/myst-to-typst/src/index.ts#L6
'getDefaultCaptionSupplement' 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-directives/src/include.ts#L2
'normalizeLabel' 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
Testing on node 20
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636