Skip to content

testing: publish/preview/cache action logic has no automated tests #100

Description

@mmcky

Surfaced by the v0.8.0 validation study.

Problem

Only the container images are validated end-to-end (build-containers.ymltest-container.yml / test-containers-lectures.yml). The action logic itself has no automated tests:

  • publish-gh-pages
  • preview-netlify, preview-cloudflare
  • build-jupyter-cache, restore-jupyter-cache
  • setup-environment (including the non-container / standard-mode conda-cache path)

Confidence currently rests on code review plus observed production publishes in the lecture repos. TESTING.md documents container validation and manual local fixtures — not action-level tests.

Why it matters

The publish and cache paths are what consumers depend on most, and a regression there wouldn't surface until a real publish or cache build fails. This is the same tooling layer whose gaps hid #28 (see #83).

Suggested fix

Context: QuantEcon/lectures#11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTesting and unlikely to merge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions