From 9b973ce633732e6dbaee3699e1a7bc628d247cd5 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 21 May 2023 16:11:27 +0200 Subject: [PATCH] [stable-5] Switch to Ansible Galaxy compatible requirements files for tests (#6553) Switch to Ansible Galaxy compatible requirements files for tests (#6549) Switch to Ansible Galaxy compatible requirements files for tests. (cherry picked from commit d643bd5794b98f579c4a90fa2cc02ab872edd0e4) --- tests/{ => integration}/requirements.yml | 4 +--- tests/unit/requirements.yml | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) rename tests/{ => integration}/requirements.yml (72%) create mode 100644 tests/unit/requirements.yml diff --git a/tests/requirements.yml b/tests/integration/requirements.yml similarity index 72% rename from tests/requirements.yml rename to tests/integration/requirements.yml index acad510733..8d9e8f3dc2 100644 --- a/tests/requirements.yml +++ b/tests/integration/requirements.yml @@ -3,8 +3,6 @@ # 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 -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