From d643bd5794b98f579c4a90fa2cc02ab872edd0e4 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 21 May 2023 14:06:36 +0200 Subject: [PATCH] Switch to Ansible Galaxy compatible requirements files for tests (#6549) Switch to Ansible Galaxy compatible requirements files for tests. --- 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