Skip to content

Update ansible test splitter with indirect node count targets#192

Open
brahmanim wants to merge 2 commits intoansible-network:mainfrom
brahmanim:ACA-5142_sync_splitter_gha_vs_zuul
Open

Update ansible test splitter with indirect node count targets#192
brahmanim wants to merge 2 commits intoansible-network:mainfrom
brahmanim:ACA-5142_sync_splitter_gha_vs_zuul

Conversation

@brahmanim
Copy link
Copy Markdown

This PR introduces a new ability to trigger indirect node count targets by ansible_test_splitter based on the following logic:

This action reads elements to test from the extensions\audit directory and corresponding tests from the tests/integration/targets directory. Here are more details on the relationship between extensions\audit and integration test targets:

  • The test target name should have a prefix node_query_ or define the indirect_node_count line in the aliases file, when the event_query.yml file changes.

This PR also fixes a pre-commit issue: .github/actions/ansible_test_splitter/list_changed_targets.py:63:4: R0912: Too many branches (14/12) (too-many-branches)

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.

1 participant