phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 3 forks source link

Pipelines - Add automatable #556

Closed ChrisHuynh333 closed 5 months ago

ChrisHuynh333 commented 5 months ago

What does this PR do and why?

This PR adds the automatable attribute to pipelines and a automatable_pipelines call to return any automatable pipelines

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

  1. Open a rails console
  2. Input the command
    Irida::Pipelines.automatable_pipelines
  3. Ensure only pipeline phac-nml/iridanextexample_1.0.2 is returned

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 5 months ago

Simplecov Report

Covered Threshold
91.84% 90%