Skip to content

Making ci tests self contained #128

Description

@aaishwarymishra

Updated PR

Isolate and reduce generated-project integration tests

Problem

Generated projects are currently run with the test suite’s Python environment.
The tests also train every model/dataset combination for one epoch, making CI unnecessarily expensive.

Proposed solution

  • Keep lightweight generation checks for all combinations.
  • Run one representative end-to-end smoke test in an isolated uv environment.
  • Install only dependencies declared by the generated project.
  • Limit training to one batch or the smallest practical workload.
  • Rely on the shared uv package cache to avoid repeated downloads.

Acceptance criteria

  • Generated code runs in an isolated environment.
  • Missing generated dependencies cause the test to fail.
  • One representative project completes a minimal training run.
  • All combinations remain covered by lightweight generation tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions