From fe7b151a26bf396774f503d959497a6912f45461 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 21 May 2023 15:09:20 +0200 Subject: [PATCH] [PR #6549/d643bd57 backport][stable-6] Switch to Ansible Galaxy compatible requirements files for tests (#6551) Switch to Ansible Galaxy compatible requirements files for tests (#6549) Switch to Ansible Galaxy compatible requirements files for tests. (cherry picked from commit d643bd5794b98f579c4a90fa2cc02ab872edd0e4) Co-authored-by: Felix Fontein --- tests/{ => integration}/requirements.yml | 4 +--- tests/unit/requirements.yml | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) rename tests/{ => integration}/requirements.yml (73%) create mode 100644 tests/unit/requirements.yml diff --git a/tests/requirements.yml b/tests/integration/requirements.yml similarity index 73% rename from tests/requirements.yml rename to tests/integration/requirements.yml index adedb17bda..b772fc82d1 100644 --- a/tests/requirements.yml +++ b/tests/integration/requirements.yml @@ -3,9 +3,7 @@ # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later -integration_tests_dependencies: +collections: - ansible.posix - community.crypto - community.docker -unit_tests_dependencies: -- community.internal_test_tools diff --git a/tests/unit/requirements.yml b/tests/unit/requirements.yml new file mode 100644 index 0000000000..586a6a1b37 --- /dev/null +++ b/tests/unit/requirements.yml @@ -0,0 +1,7 @@ +--- +# Copyright (c) Ansible Project +# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later + +collections: +- community.internal_test_tools