Skip to content

🔢 Enable continuous numbering across pages #3344

🔢 Enable continuous numbering across pages

🔢 Enable continuous numbering across pages #3344

Triggered via pull request January 18, 2025 06:27
Status Failure
Total duration 3m 7s
Artifacts

ci.yml

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

Annotations

14 errors and 12 warnings
tests/endToEnd.spec.ts > End-to-end cli export tests > Multi page project with no numbering specified: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "pages": Array [ Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 1, "slug": "a", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page A", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 2, "slug": "b", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page B - title in markdown", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 2, "slug": "c", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page C", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 1, "slug": "d", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page D", }, ], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "My ABC project is used for testing title and continuous enumeration.", }, ], "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "paragraph", }, ], "data": Object { "part": "abstract", }, "key": "keyABC0123",
tests/endToEnd.spec.ts > End-to-end cli export tests > Multi page project with default heading numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, }, "pages": Array [ Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 1, "slug": "a", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page A", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 2, "slug": "b", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page B - title in markdown", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 2, "slug": "c", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page C", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 1, "slug": "d", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page D", }, ], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, }, }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1,
tests/endToEnd.spec.ts > End-to-end cli export tests > Single page project with no numbering specified: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "pages": Array [], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "My ABC project is used for testing title and continuous enumeration.", }, ], "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "paragraph", }, ], "data": Object { "part": "abstract", }, "key": "keyABC0123", "type": "block", }, ], "key": "keyABC0123", "type": "root", }, }, }, "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", "title": "My ABC Project", "toc": Array [ Object { "file": "index.md", }, ], }, ], } ❯ tests/endToEnd.spec.ts:60:11 ❯ tests/endToEnd.spec.ts:55:13
tests/endToEnd.spec.ts > End-to-end cli export tests > Single page project with default heading numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, }, "pages": Array [], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, }, }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "My ABC project is used for testing title and continuous enumeration.", }, ], "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "paragraph", }, ], "data": Object { "part": "abstract", }, "key": "keyABC0123", "type": "block", }, ], "key": "keyABC0123", "type": "root", }, }, }, "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", "title": "My ABC Project", "toc": Array [ Object { "file": "index.md", }, ], }, ], } ❯ tests/endToEnd.spec.ts:60:11 ❯ tests/endToEnd.spec.ts:55:13
tests/endToEnd.spec.ts > End-to-end cli export tests > Multi page project with default title numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "enumerator": "1", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "title": Object { "enabled": true, }, }, "pages": Array [ Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2", "level": 1, "slug": "a", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page A", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2.1", "level": 2, "slug": "b", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page B - title in markdown", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2.2", "level": 2, "slug": "c", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page C", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "3", "level": 1, "slug": "d", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page D", }, ], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "enumerator": "4", "numbering": Object { "title": Object { "enabled": true, }, }, }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "My ABC project is used for testing title and continuous enumeration.", }, ], "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "lin
tests/endToEnd.spec.ts > End-to-end cli export tests > Multi page project with default title and heading numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "enumerator": "1", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, "title": Object { "enabled": true, }, }, "pages": Array [ Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2", "level": 1, "slug": "a", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page A", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2.2", "level": 2, "slug": "b", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page B - title in markdown", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2.3", "level": 2, "slug": "c", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page C", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "3", "level": 1, "slug": "d", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page D", }, ], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "enumerator": "4", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, "title": Object { "enabled": true, }, }, }, "mdast": Object { "children": Array [
tests/endToEnd.spec.ts > End-to-end cli export tests > Multi page project with offset 0 title and heading numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "enumerator": "1", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, "title": Object { "enabled": true, "offset": 0, }, }, "pages": Array [ Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "2", "level": 1, "slug": "a", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page A", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "3", "level": 2, "slug": "b", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page B - title in markdown", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "4", "level": 2, "slug": "c", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page C", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "enumerator": "5", "level": 1, "slug": "d", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page D", }, ], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "enumerator": "6", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, "title": Object { "enabled": true, "offset": 0, }, }, }, "mdast": O
tests/endToEnd.spec.ts > End-to-end cli export tests > Multi page project with continuous figure numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "figure": Object { "continue": true, "enabled": true, }, }, "pages": Array [ Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 1, "slug": "a", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page A", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 2, "slug": "b", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page B - title in markdown", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 2, "slug": "c", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page C", }, Object { "banner": "", "bannerOptimized": "", "date": "2025-01-09", "description": "", "level": 1, "slug": "d", "tags": Array [], "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", + "thumbnailOptimized": "", "title": "This is page D", }, ], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "numbering": Object { "figure": Object { "continue": true, "enabled": true, }, }, }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "My ABC project is used for testing title and continuous enumeration.", }, ], "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1,
tests/endToEnd.spec.ts > End-to-end cli export tests > Single page project with default title and heading numbering: packages/mystmd/tests/endToEnd.spec.ts#L60
AssertionError: expected { options: {}, myst: '1.3.20', …(3) } to match object { options: {}, myst: '1.3.20', …(3) } - Expected + Received Object { "actions": Array [], "myst": "1.3.20", "nav": Array [], "options": Object {}, "projects": Array [ Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "bibliography": Array [], "date": "2025-01-09", "enumerator": "1", "exports": Array [], "id": "3a045569-08b0-4ce0-a917-4c18b22a45f3", "index": "index", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, "title": Object { "enabled": true, }, }, "pages": Array [], "parts": Object { "abstract": Object { "frontmatter": Object { "authors": Array [ Object { "id": "Franklin Koch", "name": "Franklin Koch", }, ], "date": "2025-01-09", "enumerator": "2", "numbering": Object { "heading_1": Object { "enabled": true, }, "heading_2": Object { "enabled": true, }, "heading_3": Object { "enabled": true, }, "heading_4": Object { "enabled": true, }, "heading_5": Object { "enabled": true, }, "heading_6": Object { "enabled": true, }, "title": Object { "enabled": true, }, }, }, "mdast": Object { "children": Array [ Object { "children": Array [ Object { "children": Array [ Object { "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "text", "value": "My ABC project is used for testing title and continuous enumeration.", }, ], "key": "keyABC0123", "position": Object { "end": Object { "column": 1, "line": 1, }, "start": Object { "column": 1, "line": 1, }, }, "type": "paragraph", }, ], "data": Object { "part": "abstract", }, "key": "keyABC0123", "type": "block", }, ], "key": "keyABC0123", "type": "root", }, }, }, "thumbnail": "/image.png", - "thumbnailOptimized": "/image.webp", "title": "My ABC Project", "toc": Array [ Object {
Testing on node 20
Process completed with exit code 1.
Testing on node 22.4.x
The job was canceled because "_20" failed.
Testing on node 22.4.x
The operation was canceled.
Testing on node 18
The job was canceled because "_20" failed.
Testing on node 18
The operation was canceled.
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-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-frontmatter/src/licenses/schema.ts#L3
'LicenseSchema' is assigned a value but never used
lint: packages/myst-frontmatter/src/page/validators.ts#L9
'validateNumber' 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-to-typst/src/index.ts#L6
'getDefaultCaptionSupplement' 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
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