Skip to content

[Feature Request]: Add pipeline runtime parameters to test e.g. only pester tests #1372

Closed

Description

Description

Add pipeline runtime parameters to test e.g. only pester tests.

If one is only working on Pester tests it is a bit unfortunate that one has also to run the deployment tests.

However, when adding such a parameter we have to make sure a module is still only published if all tests ran (-> Including the deployment tests). This could be achived by adjusting the publish-job condition to only run if 'needs.xzy' is in status succeeded. Thus, if a dependency would be skipped (and hence the status would indicate it as such) the publish would still not run.

Activity

  1. added
    enhancement
    [cat] pipelines
    on May 8, 2022
  2. AlexanderSehr commented on Jun 7, 2022

    @AlexanderSehr
    ContributorAuthor

    Tested a first implementation. While it is definetely possible with Azure DevOps, GitHub actions don't support conditional dependencies: https://github.com/Azure/ResourceModules/actions/runs/2457364409

    As a result it is for example not possible to 'skip' the static validation, as the deployment validation will then refuse to run

  3. rahalan commented on Aug 4, 2022

    @rahalan
    Contributor

    Team decides to implement as @MrMCake suggested

  4. moved this from To do to In progress in Backlogon Jan 20, 2023
  5. moved this from In progress to Ready for review in Backlogon Jan 20, 2023
  6. moved this from Ready for review to Done in Backlogon Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[cat] pipelinesenhancement

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions