Skip to content

🔧 More typst export improvements #3187

🔧 More typst export improvements

🔧 More typst export improvements #3187

Triggered via pull request November 21, 2024 06:54
Status Failure
Total duration 2m 4s
Artifacts

ci.yml

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

Annotations

21 errors and 11 warnings
tests/run.spec.ts > myst-to-typst sections > sections: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '= My Heading <section-one>\n\nPlease …' to deeply equal '= My Heading <section-one>\n\nPlease …' - Expected + Received = My Heading <section-one> - Please see @Section-one for more information! + Please see #link(<section-one>)[] for more information! ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst sections > references followed by text: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected 'See #link(<fig1>)[]a for the first pa…' to deeply equal 'See #[@Fig1]a for the first part of t…' Expected: "See #[@Fig1]a for the first part of the figure!" Received: "See #link(<fig1>)[]a for the first part of the figure!" ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst figures > figure directive - no caption/legend: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#show figure: set block(breakable: br…' to deeply equal '#show figure: set block(breakable: tr…' - Expected + Received - #show figure: set block(breakable: true) + #show figure: set block(breakable: breakableDefault) #figure( image("glacier.jpg", width: 62.5%), kind: "figure", supplement: [Figure], ) <glacier> ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst figures > figure directive - with caption: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#show figure: set block(breakable: br…' to deeply equal '#show figure: set block(breakable: tr…' - Expected + Received - #show figure: set block(breakable: true) + #show figure: set block(breakable: breakableDefault) #figure( image("glacier.jpg", width: 62.5%), caption: [ A curious figure. ], kind: "figure", supplement: [Figure], ) <glacier> ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > basic table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 1, r…' to deeply equal '#tablex(columns: 2, header-rows: 1, r…' - Expected + Received - #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, ..columnStyle, [ Head 1, Column 1 ], [ Head 1, Column 2 ], [ Row 1, Column 1 ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > comment inside table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 1, r…' to deeply equal '#tablex(columns: 2, header-rows: 1, r…' - Expected + Received - #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, ..columnStyle, [ Head 1, Column 1 ], [ Head 1, Column 2 ], [ Row 1, Column 1 // my comment ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > rowspan table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 0, r…' to deeply equal '#tablex(columns: 2, header-rows: 0, r…' - Expected + Received - #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, ..columnStyle, cellx(rowspan: 2, )[ Head 1, Column 1 ], [ Head 1, Column 2 ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > colspan table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 0, r…' to deeply equal '#tablex(columns: 2, header-rows: 0, r…' - Expected + Received - #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, ..columnStyle, cellx(colspan: 2, )[ Head 1, Column 1 ], [ Row 1, Column 1 ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
Testing on node 22.4.x
Process completed with exit code 1.
Testing on node 18
The job was canceled because "_22_4_x" failed.
tests/run.spec.ts > myst-to-typst sections > sections: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '= My Heading <section-one>\n\nPlease …' to deeply equal '= My Heading <section-one>\n\nPlease …' - Expected + Received = My Heading <section-one> - Please see @Section-one for more information! + Please see #link(<section-one>)[] for more information! ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst sections > references followed by text: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected 'See #link(<fig1>)[]a for the first pa…' to deeply equal 'See #[@Fig1]a for the first part of t…' Expected: "See #[@Fig1]a for the first part of the figure!" Received: "See #link(<fig1>)[]a for the first part of the figure!" ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst figures > figure directive - no caption/legend: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#show figure: set block(breakable: br…' to deeply equal '#show figure: set block(breakable: tr…' - Expected + Received - #show figure: set block(breakable: true) + #show figure: set block(breakable: breakableDefault) #figure( image("glacier.jpg", width: 62.5%), kind: "figure", supplement: [Figure], ) <glacier> ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst figures > figure directive - with caption: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#show figure: set block(breakable: br…' to deeply equal '#show figure: set block(breakable: tr…' - Expected + Received - #show figure: set block(breakable: true) + #show figure: set block(breakable: breakableDefault) #figure( image("glacier.jpg", width: 62.5%), caption: [ A curious figure. ], kind: "figure", supplement: [Figure], ) <glacier> ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > basic table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 1, r…' to deeply equal '#tablex(columns: 2, header-rows: 1, r…' - Expected + Received - #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, ..columnStyle, [ Head 1, Column 1 ], [ Head 1, Column 2 ], [ Row 1, Column 1 ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > comment inside table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 1, r…' to deeply equal '#tablex(columns: 2, header-rows: 1, r…' - Expected + Received - #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 1, repeat-header: true, ..tableStyle, ..columnStyle, [ Head 1, Column 1 ], [ Head 1, Column 2 ], [ Row 1, Column 1 // my comment ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > rowspan table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 0, r…' to deeply equal '#tablex(columns: 2, header-rows: 0, r…' - Expected + Received - #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, ..columnStyle, cellx(rowspan: 2, )[ Head 1, Column 1 ], [ Head 1, Column 2 ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
tests/run.spec.ts > myst-to-typst tables > colspan table: packages/myst-to-typst/tests/run.spec.ts#L40
AssertionError: expected '#tablex(columns: 2, header-rows: 0, r…' to deeply equal '#tablex(columns: 2, header-rows: 0, r…' - Expected + Received - #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, + #tablex(columns: 2, header-rows: 0, repeat-header: true, ..tableStyle, ..columnStyle, cellx(colspan: 2, )[ Head 1, Column 1 ], [ Row 1, Column 1 ], [ Row 1, Column 2 ], ) ❯ tests/run.spec.ts:40:52
Testing on node 18
The operation was canceled.
Testing on node 20
The job was canceled because "_22_4_x" failed.
Testing on node 20
The operation was canceled.
lint: packages/myst-directives/src/include.ts#L2
'normalizeLabel' 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-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-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
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/