Skip to content

Only test for azure-rm and google features when enabled - #656

Merged
evgeni merged 1 commit into
theforeman:masterfrom
ekohl:more-feature-specific-testing
Jul 15, 2026
Merged

Only test for azure-rm and google features when enabled#656
evgeni merged 1 commit into
theforeman:masterfrom
ekohl:more-feature-specific-testing

Conversation

@ekohl

@ekohl ekohl commented Jul 14, 2026

Copy link
Copy Markdown
Member

Why are you introducing these changes? (Problem description, related links)

While developing #511 I wanted to deploy a plain Foreman without any plugin. I noticed these tests failed. These features are optional and they should only run when the features are present.

What are the changes introduced in this pull request?

  • The compute resource tests are split into dedicated functions
  • Where optional, the providers are properly marked by their feature.

How to test this pull request

Steps to reproduce:

  • Deploy without azure-rm and google; verify all the test suite passes
  • Deploy with azure-rm and google; verify all the test suite passes and it runs all tests

Checklist

  • Tests added/updated (if applicable)
  • Documentation updated (if applicable)

@evgeni
evgeni merged commit 707af4e into theforeman:master Jul 15, 2026
13 of 16 checks passed
@ekohl
ekohl deleted the more-feature-specific-testing branch July 15, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants