feat: consume dmv deck.gl bulk annotations; drop clustering UI #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: slim/e2e-visual-regression | |
| # Visual-regression tests for the deck.gl bulk-annotation renderer. | |
| # | |
| # Runs inside the pinned Playwright container so the (SwiftShader) browser | |
| # environment is byte-for-byte identical to the committed Linux baselines under | |
| # e2e/__screenshots__/. See e2e/README.md. | |
| # | |
| # The default target study is fetched from the public IDC proxy, so runs depend | |
| # on that external service; retries (configured in playwright.config.ts) absorb | |
| # cold-start slowness. This check is intentionally not required for merge — | |
| # promote it in branch protection once data is hosted locally for hermetic runs. | |
| on: | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| visual: | |
| name: "Bulk annotation visual regression" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| container: | |
| # Keep this tag in sync with the @playwright/test version in package.json. | |
| image: mcr.microsoft.com/playwright:v1.62.1-jammy | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 | |
| - name: Install dependencies | |
| # Dependency build scripts are gated by allowBuilds in pnpm-workspace.yaml. | |
| # The git-hosted dicom-microscopy-viewer needs its prepare script to build dist/. | |
| run: pnpm install --frozen-lockfile | |
| - name: Build (e2e config) | |
| run: pnpm run build:e2e | |
| - name: Run visual-regression tests | |
| # Playwright starts the static server (serve:e2e) itself via the | |
| # webServer config and compares against the committed baselines. | |
| run: pnpm run test:e2e | |
| - name: Upload Playwright report | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: playwright-report | |
| path: | | |
| playwright-report/ | |
| test-results/ | |
| retention-days: 14 |