Skip to content

🪓 Split Output into Outputs -> Output[] #3200

🪓 Split Output into Outputs -> Output[]

🪓 Split Output into Outputs -> Output[] #3200

Triggered via pull request November 25, 2024 11:50
Status Failure
Total duration 2m 54s
Artifacts

ci.yml

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

Annotations

7 errors and 11 warnings
tests/endToEnd.spec.ts > End-to-end cli export tests > Notebook embed site build: packages/mystmd/tests/endToEnd.spec.ts#L52
AssertionError: expected { kind: 'Article', …(7) } to match object { kind: 'Article', …(7) } (16 matching properties omitted from actual) - Expected + Received Object { "dependencies": Array [ Object { "kind": "Notebook", "label": "my-plot", "location": "/plot.ipynb", "slug": "plot", "url": "/plot", }, ], "frontmatter": Object { "content_includes_title": false, "exports": Array [ Object { "filename": "index.md", "format": "md", }, ], "github": "https://github.com/jupyter-book/mystmd", "keywords": Array [], "title": "Plots In Markdown", }, "kind": "Article", "location": "/index.md", "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 3, }, }, "type": "text", "value": "Figure directive - local", }, ], "depth": 2, "html_id": "figure-directive-local", "identifier": "figure-directive-local", "implicit": true, "label": "Figure directive - local", "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 3, }, }, "type": "heading", }, Object { "children": Array [ Object { - "_future_ast": "{\"type\":\"outputs\",\"children\":[{\"type\":\"output\",\"id\":\"Ffu3R5cJjHblGUbO46YxC\",\"jupyter_data\":{\"output_type\":\"execute_result\",\"execution_count\":2,\"metadata\":{},\"data\":{\"text/html\":{\"content_type\":\"text/html\",\"hash\":\"a16fcedcd26437c820ccfc05d1f48a57\",\"path\":\"/a16fcedcd26437c820ccfc05d1f48a57.html\"},\"text/plain\":{\"content\":\"alt.Chart(...)\",\"content_type\":\"text/plain\"}}},\"key\":\"aicFc0saqi\"}],\"key\":\"dSx0jlrAGq\"}", + "_future_ast": "{\"type\":\"outputs\",\"id\":\"roEHh1GDlxRVoWUZClY_g\",\"children\":[{\"type\":\"output\",\"jupyter_data\":{\"output_type\":\"execute_result\",\"execution_count\":2,\"metadata\":{},\"data\":{\"text/html\":{\"content_type\":\"text/html\",\"hash\":\"a16fcedcd26437c820ccfc05d1f48a57\",\"path\":\"/a16fcedcd26437c820ccfc05d1f48a57.html\"},\"text/plain\":{\"content\":\"alt.Chart(...)\",\"content_type\":\"text/plain\"}}},\"key\":\"KG8VGdCA2R\"}],\"key\":\"lz1OP5H5wZ\"}", "data": Array [ Object { "data": Object { "text/html": Object { "content_type": "text/html", "hash": "a16fcedcd26437c820ccfc05d1f48a57", "path": "/a16fcedcd26437c820ccfc05d1f48a57.html", }, "text/plain": Object { "content": "alt.Chart(...)", "content_type": "text/plain", }, }, "execution_count": 2, "metadata": Object {}, "output_type": "execute_result", }, ], "type": "output", }, Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object {
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/endToEnd.spec.ts > End-to-end cli export tests > Notebook embed site build: packages/mystmd/tests/endToEnd.spec.ts#L52
AssertionError: expected { kind: 'Article', …(7) } to match object { kind: 'Article', …(7) } (16 matching properties omitted from actual) - Expected + Received Object { "dependencies": Array [ Object { "kind": "Notebook", "label": "my-plot", "location": "/plot.ipynb", "slug": "plot", "url": "/plot", }, ], "frontmatter": Object { "content_includes_title": false, "exports": Array [ Object { "filename": "index.md", "format": "md", }, ], "github": "https://github.com/jupyter-book/mystmd", "keywords": Array [], "title": "Plots In Markdown", }, "kind": "Article", "location": "/index.md", "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 3, }, }, "type": "text", "value": "Figure directive - local", }, ], "depth": 2, "html_id": "figure-directive-local", "identifier": "figure-directive-local", "implicit": true, "label": "Figure directive - local", "position": Object { "end": Object { "column": 1, "line": 3, }, "start": Object { "column": 1, "line": 3, }, }, "type": "heading", }, Object { "children": Array [ Object { - "_future_ast": "{\"type\":\"outputs\",\"children\":[{\"type\":\"output\",\"id\":\"Ffu3R5cJjHblGUbO46YxC\",\"jupyter_data\":{\"output_type\":\"execute_result\",\"execution_count\":2,\"metadata\":{},\"data\":{\"text/html\":{\"content_type\":\"text/html\",\"hash\":\"a16fcedcd26437c820ccfc05d1f48a57\",\"path\":\"/a16fcedcd26437c820ccfc05d1f48a57.html\"},\"text/plain\":{\"content\":\"alt.Chart(...)\",\"content_type\":\"text/plain\"}}},\"key\":\"aicFc0saqi\"}],\"key\":\"dSx0jlrAGq\"}", + "_future_ast": "{\"type\":\"outputs\",\"id\":\"R2kwixz1_CaW4i1i16tG4\",\"children\":[{\"type\":\"output\",\"jupyter_data\":{\"output_type\":\"execute_result\",\"execution_count\":2,\"metadata\":{},\"data\":{\"text/html\":{\"content_type\":\"text/html\",\"hash\":\"a16fcedcd26437c820ccfc05d1f48a57\",\"path\":\"/a16fcedcd26437c820ccfc05d1f48a57.html\"},\"text/plain\":{\"content\":\"alt.Chart(...)\",\"content_type\":\"text/plain\"}}},\"key\":\"oOo7gUFU5L\"}],\"key\":\"inGYIxFOP6\"}", "data": Array [ Object { "data": Object { "text/html": Object { "content_type": "text/html", "hash": "a16fcedcd26437c820ccfc05d1f48a57", "path": "/a16fcedcd26437c820ccfc05d1f48a57.html", }, "text/plain": Object { "content": "alt.Chart(...)", "content_type": "text/plain", }, }, "execution_count": 2, "metadata": Object {}, "output_type": "execute_result", }, ], "type": "output", }, Object { "children": Array [ Object { "children": Array [ Object { "position": Object { "end": Object {
Testing on node 20
The operation was canceled.
Testing on node 18
The job was canceled because "_22_4_x" failed.
Testing on node 18
The operation was canceled.
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-frontmatter/src/licenses/schema.ts#L3
'LicenseSchema' is assigned a value but never used
lint: packages/myst-directives/src/code.ts#L3
'nanoid' 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 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/