From 74b70f81c871292d2ec28ed366e1790d8d5135d8 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 21 May 2023 13:54:35 +0200 Subject: [PATCH] Switch to Ansible Galaxy compatible requirements files for tests. (#633) --- tests/{ => integration}/requirements.yml | 4 +--- tests/unit/requirements.yml | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) rename tests/{ => integration}/requirements.yml (76%) create mode 100644 tests/unit/requirements.yml diff --git a/tests/requirements.yml b/tests/integration/requirements.yml similarity index 76% rename from tests/requirements.yml rename to tests/integration/requirements.yml index fa0ba167..7b3e38d9 100644 --- a/tests/requirements.yml +++ b/tests/integration/requirements.yml @@ -3,10 +3,8 @@ # 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.internal_test_tools - community.crypto - community.general -unit_tests_dependencies: -- community.internal_test_tools diff --git a/tests/unit/requirements.yml b/tests/unit/requirements.yml new file mode 100644 index 00000000..586a6a1b --- /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