Skip to content

🗂 Add site option to include folder structure in url paths #3104

🗂 Add site option to include folder structure in url paths

🗂 Add site option to include folder structure in url paths #3104

Triggered via pull request October 23, 2024 07:05
Status Failure
Total duration 3m 0s
Artifacts

ci.yml

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

Annotations

8 errors and 11 warnings
tests/endToEnd.spec.ts > End-to-end cli export tests > URL folder structure: packages/mystmd/tests/endToEnd.spec.ts#L52
AssertionError: expected { version: '1', myst: '1.3.14', …(1) } to match object { version: '1', myst: '1.3.13', …(1) } - Expected + Received Object { - "myst": "1.3.13", + "myst": "1.3.14", "references": Array [ Object { "data": "/content/my-proj/readme.json", "kind": "page", "url": "/my-proj/", }, Object { "data": "/content/my-proj/one-with-dots.json", "kind": "page", "url": "/my-proj/one-with-dots", }, Object { "data": "/content/my-proj/two.json", "kind": "page", "url": "/my-proj/two", }, Object { "data": "/content/my-proj/one-folder.page.json", "kind": "page", "url": "/my-proj/one-folder/page", }, Object { "data": "/content/my-proj/two-1.index.json", "kind": "page", "url": "/my-proj/two-1/index", }, Object { "data": "/content/my-proj/two.a.json", "kind": "page", "url": "/my-proj/two/a", }, Object { "data": "/content/my-proj/two.page.json", "kind": "page", "url": "/my-proj/two/page", }, Object { "data": "/content/my-proj/two.page.json", "identifier": "my-thing", "kind": "heading", "url": "/my-proj/two/page", }, ], "version": "1", } ❯ tests/endToEnd.spec.ts:52:11 ❯ tests/endToEnd.spec.ts:47:13
Testing on node 20
Process completed with exit code 1.
Testing on node 22.4.x
The job was canceled because "_20" failed.
tests/endToEnd.spec.ts > End-to-end cli export tests > URL folder structure: packages/mystmd/tests/endToEnd.spec.ts#L52
AssertionError: expected { version: '1', myst: '1.3.14', …(1) } to match object { version: '1', myst: '1.3.13', …(1) } - Expected + Received Object { - "myst": "1.3.13", + "myst": "1.3.14", "references": Array [ Object { "data": "/content/my-proj/readme.json", "kind": "page", "url": "/my-proj/", }, Object { "data": "/content/my-proj/one-with-dots.json", "kind": "page", "url": "/my-proj/one-with-dots", }, Object { "data": "/content/my-proj/two.json", "kind": "page", "url": "/my-proj/two", }, Object { "data": "/content/my-proj/one-folder.page.json", "kind": "page", "url": "/my-proj/one-folder/page", }, Object { "data": "/content/my-proj/two-1.index.json", "kind": "page", "url": "/my-proj/two-1/index", }, Object { "data": "/content/my-proj/two.a.json", "kind": "page", "url": "/my-proj/two/a", }, Object { "data": "/content/my-proj/two.page.json", "kind": "page", "url": "/my-proj/two/page", }, Object { "data": "/content/my-proj/two.page.json", "identifier": "my-thing", "kind": "heading", "url": "/my-proj/two/page", }, ], "version": "1", } ❯ tests/endToEnd.spec.ts:52:11 ❯ tests/endToEnd.spec.ts:47:13
Testing on node 22.4.x
Process completed with exit code 1.
Testing on node 18
The job was canceled because "_20" failed.
tests/endToEnd.spec.ts > End-to-end cli export tests > URL folder structure: packages/mystmd/tests/endToEnd.spec.ts#L52
AssertionError: expected { version: '1', myst: '1.3.14', …(1) } to match object { version: '1', myst: '1.3.13', …(1) } - Expected + Received Object { - "myst": "1.3.13", + "myst": "1.3.14", "references": Array [ Object { "data": "/content/my-proj/readme.json", "kind": "page", "url": "/my-proj/", }, Object { "data": "/content/my-proj/one-with-dots.json", "kind": "page", "url": "/my-proj/one-with-dots", }, Object { "data": "/content/my-proj/two.json", "kind": "page", "url": "/my-proj/two", }, Object { "data": "/content/my-proj/one-folder.page.json", "kind": "page", "url": "/my-proj/one-folder/page", }, Object { "data": "/content/my-proj/two-1.index.json", "kind": "page", "url": "/my-proj/two-1/index", }, Object { "data": "/content/my-proj/two.a.json", "kind": "page", "url": "/my-proj/two/a", }, Object { "data": "/content/my-proj/two.page.json", "kind": "page", "url": "/my-proj/two/page", }, Object { "data": "/content/my-proj/two.page.json", "identifier": "my-thing", "kind": "heading", "url": "/my-proj/two/page", }, ], "version": "1", } ❯ tests/endToEnd.spec.ts:52:11 ❯ tests/endToEnd.spec.ts:47:13
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-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/