Skip to content

πŸ› οΈ Repo: Improving test isolation in WorkflowΒ #78

@matiassimon

Description

@matiassimon

Summary:

The current workflow runs all tests together in a single job, causing two main issues:

  1. Tracking Difficulty:

    • It's challenging to distinguish which examples are functioning correctly and which aren't.
  2. Dependency Interference:

    • Shared system dependencies might lead to misleading test results; an example might pass due to a dependency installed by a different example.

Proposed Solutions:

  1. Matrix Strategy:

    • Consider replacing Lerna with a matrix strategy in the workflow, iterating over each package's folder independently.
    strategy:
      matrix:
        folder:
          - example1
          - example2
          - example3
        node-version:
          - 16
          - 18
  2. Separate Repositories:

    • Alternatively, use individual repositories for each example, each with its own workflows. Add them as submodules to a main repository.

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