Skip to content

Handle injected orb in test-deploy.yml files #354

@mlau-anet

Description

@mlau-anet

I have a few org-internal orbs that I work on, and we use the testing strategy described here, wherein we use orb-tools/continue to inject the orb definition into the test config file. You can find the canonical example test config file here: test-deploy.yml.

The language server does not like this file, because it does not recognize the injection site {}, and gives the error: Orb {} does not exist or is private. Subsequent to that, all of the places in the test file where we actually use the orb also have errors of the type Cannot find declaration for...

It would be great if the language server supported this testing strategy, but at the very least I'd love a way to tell it to ignore these errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions