canonical / charmed-kubeflow-workflows

Repository that containes GitHub workflows and shareable configs for Charmed Kubeflow
0 stars 0 forks source link

Skip building integration test environment when we have no rock integration tests #46

Open ca-scribner opened 6 months ago

ca-scribner commented 6 months ago

Context

Many of our rocks have no integration tests but they still build a test environment:

https://github.com/canonical/charmed-kubeflow-workflows/blob/main/.github/workflows/integration-test-rock.yaml#L90:L97

For a rock that has no integration test, this adds ~5 min to the workflow execution that is wasted. Can we detect whether we have integration tests, and skip this step if we dont?

What needs to get done

  1. implement a check for integration tests
  2. skip integration tests if we don't have any

Definition of Done

  1. update the integration workflow and ensure it works on our rocks
syncronize-issues-to-jira[bot] commented 6 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5341.

This message was autogenerated