Multi-chart rendering for @perspective-dev/charts
#1681
build.yaml
on: pull_request
Matrix: lint_and_docs
Matrix: build_js
Matrix: build_python
Matrix: build_and_test_rust
Matrix: build_emscripten_wheel
Matrix: benchmark_js
Matrix: test_js
Matrix: build_and_test_jupyterlab
Matrix: benchmark_python
Matrix: test_python
Matrix: test_emscripten_wheel
Matrix: test_python_sdist
Matrix: publish
Annotations
6 errors, 2 warnings, and 2 notices
|
build_and_test_jupyterlab (ubuntu-22.04, x86_64, 3.11, 22.x)
Process completed with exit code 1.
|
|
[jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:89:5 › JupyterLab resize › group_by traitlet works:
tools/test/src/js/utils.ts#L184
3) [jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:89:5 › JupyterLab resize › group_by traitlet works
Error: A snapshot doesn't exist at /home/runner/work/perspective/perspective/tools/test/dist/snapshots/jupyterlab-desktop-chrome/resize.spec.mjs/jupyterlab-resize-group-by-traitlet-works.txt.
at src/js/utils.ts:184
182 | ];
183 |
> 184 | await expect(formatted).toMatchSnapshot(snapshotPath);
| ^
185 | }
186 |
187 | export async function compareSVGContentsToSnapshot(
at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/test/src/js/utils.ts:184:29)
at /home/runner/work/perspective/perspective/packages/jupyterlab/test/js/resize.spec.mjs:110:9
|
|
[jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:50:5 › JupyterLab resize › Resize the container causes the widget to resize:
tools/test/src/js/utils.ts#L184
2) [jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:50:5 › JupyterLab resize › Resize the container causes the widget to resize
Error: A snapshot doesn't exist at /home/runner/work/perspective/perspective/tools/test/dist/snapshots/jupyterlab-desktop-chrome/resize.spec.mjs/jupyterlab-resize-resize-the-container-causes-the-widget-to-resize.txt.
at src/js/utils.ts:184
182 | ];
183 |
> 184 | await expect(formatted).toMatchSnapshot(snapshotPath);
| ^
185 | }
186 |
187 | export async function compareSVGContentsToSnapshot(
at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/test/src/js/utils.ts:184:29)
at /home/runner/work/perspective/perspective/packages/jupyterlab/test/js/resize.spec.mjs:84:9
|
|
[jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:28:5 › JupyterLab resize › Config should be hidden by default:
tools/test/src/js/utils.ts#L184
1) [jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:28:5 › JupyterLab resize › Config should be hidden by default
Error: A snapshot doesn't exist at /home/runner/work/perspective/perspective/tools/test/dist/snapshots/jupyterlab-desktop-chrome/resize.spec.mjs/jupyterlab-resize-config-should-be-hidden-by-default.txt.
at src/js/utils.ts:184
182 | ];
183 |
> 184 | await expect(formatted).toMatchSnapshot(snapshotPath);
| ^
185 | }
186 |
187 | export async function compareSVGContentsToSnapshot(
at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/test/src/js/utils.ts:184:29)
at /home/runner/work/perspective/perspective/packages/jupyterlab/test/js/resize.spec.mjs:45:9
|
|
test_js (ubuntu-22.04, 3.11, 22.x)
Process completed with exit code 1.
|
|
[viewer-charts-desktop-chrome] › packages/viewer-charts/test/js/treemap.spec.ts:57:5 › Treemap › three-level group_by:
packages/viewer-charts/test/js/helpers.ts#L91
1) [viewer-charts-desktop-chrome] › packages/viewer-charts/test/js/treemap.spec.ts:57:5 › Treemap › three-level group_by
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('perspective-viewer')
12826 pixels (ratio 0.02 of all image pixels) are different.
Snapshot: treemap-three-level-group-by.png
Call log:
- Expect "toHaveScreenshot(treemap-three-level-group-by.png)" with timeout 30000ms
- verifying given screenshot expectation
- waiting for locator('perspective-viewer')
- locator resolved to <perspective-viewer theme="Pro Light">…</perspective-viewer>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 12826 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('perspective-viewer')
- locator resolved to <perspective-viewer theme="Pro Light">…</perspective-viewer>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 12826 pixels (ratio 0.02 of all image pixels) are different.
at ../../packages/viewer-charts/test/js/helpers.ts:91
89 | .join("-") + ".png";
90 |
> 91 | await expect(viewer).toHaveScreenshot(snapshotName, {
| ^
92 | threshold: DEFAULT_THRESHOLD,
93 | maxDiffPixelRatio:
94 | options.maxDiffPixelRatio ?? DEFAULT_MAX_DIFF_PIXEL_RATIO,
at expectViewerScreenshot (/home/runner/work/perspective/perspective/packages/viewer-charts/test/js/helpers.ts:91:26)
at renderAndCapture (/home/runner/work/perspective/perspective/packages/viewer-charts/test/js/helpers.ts:109:11)
at /home/runner/work/perspective/perspective/packages/viewer-charts/test/js/treemap.spec.ts:58:9
|
|
build_and_test_jupyterlab (ubuntu-22.04, x86_64, 3.11, 22.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/setup-python@v5, actions/upload-artifact@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test_js (ubuntu-22.04, 3.11, 22.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
3 failed
[jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:28:5 › JupyterLab resize › Config should be hidden by default
[jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:50:5 › JupyterLab resize › Resize the container causes the widget to resize
[jupyterlab-desktop-chrome] › packages/jupyterlab/test/js/resize.spec.mjs:89:5 › JupyterLab resize › group_by traitlet works
|
|
🎭 Playwright Run Summary
1 failed
[viewer-charts-desktop-chrome] › packages/viewer-charts/test/js/treemap.spec.ts:57:5 › Treemap › three-level group_by
114 skipped
1548 passed (4.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
perspective-python-dist-x86_64-ubuntu-22.04-3.11
Expired
|
9.47 MB |
sha256:74c38bd600c90101259fffa742205195a78dde708ed3fcfbaff5abdd659625e3
|
|
|
perspective-python-sdist
Expired
|
3.67 MB |
sha256:41810f07eb8b1146e5267bf50308d9d0616ac4b06e086b74acf4e92d5a172302
|
|