Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test both runtimes in unit tests #1155

Merged
merged 1 commit into from Nov 4, 2022
Merged

Test both runtimes in unit tests #1155

merged 1 commit into from Nov 4, 2022

Conversation

Shrews
Copy link
Contributor

@Shrews Shrews commented Nov 4, 2022

Unit tests do not need a runtime (docker or podman) actually installed to test code paths that depend on the runtime. The @pytest.mark.test_all_runtimes fixture checks for installed runtimes. Change this to just parametrize the runtime name.

Fixes #1153

@Shrews Shrews requested a review from a team as a code owner November 4, 2022 17:13
@Shrews Shrews merged commit 79b564d into ansible:devel Nov 4, 2022
@Shrews Shrews deleted the fix_units branch November 4, 2022 17:51
Shrews added a commit to Shrews/ansible-runner that referenced this pull request Nov 4, 2022
Shrews added a commit to Shrews/ansible-runner that referenced this pull request Nov 4, 2022
Shrews added a commit that referenced this pull request Nov 4, 2022
Shrews added a commit that referenced this pull request Nov 4, 2022
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.

Some unit tests are skipped in runner CI due to no podman runtime
2 participants