From c89781db6b269d89cf4688162ccd8533e349c21a Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 25 Oct 2023 09:50:38 -0700 Subject: [PATCH 1/3] Update test dependencies to address test failure https://github.com/OpenVoiceOS/ovos-plugin-manager/actions/runs/6635328844/job/18026087764?pr=187 Related to default configuration change https://github.com/OpenVoiceOS/ovos-config/releases/tag/V0.0.11 --- .github/workflows/unit_tests.yml | 2 +- requirements/test.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 requirements/test.txt diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 472b5daf..c555a2dc 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -53,7 +53,7 @@ jobs: pip install . - name: Install test dependencies run: | - pip install pytest pytest-timeout pytest-cov neon-lang-plugin-libretranslate + pip install -r requirements/test.txt - name: Run unittests run: | pytest --cov=ovos_plugin_manager --cov-report xml test/unittests diff --git a/requirements/test.txt b/requirements/test.txt new file mode 100644 index 00000000..b73ce6ff --- /dev/null +++ b/requirements/test.txt @@ -0,0 +1,5 @@ +pytest +pytest-timeout +pytest-cov +neon-lang-plugin-libretranslate +ovos-translate-server-plugin \ No newline at end of file From d3c688fcc0417a36b088496008009c06149d63d6 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 25 Oct 2023 11:06:54 -0700 Subject: [PATCH 2/3] Remove potentially unused test dependency --- requirements/test.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements/test.txt b/requirements/test.txt index b73ce6ff..48548151 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,4 @@ pytest pytest-timeout pytest-cov -neon-lang-plugin-libretranslate ovos-translate-server-plugin \ No newline at end of file From e257cf9cb30514866cd52ddd326aead330d94af8 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 25 Oct 2023 11:10:11 -0700 Subject: [PATCH 3/3] Run unit tests on changed requirements --- .github/workflows/unit_tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index c555a2dc..62da0901 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -5,7 +5,6 @@ on: - dev paths-ignore: - 'ovos_plugin_manager/version.py' - - 'requirements/**' - 'examples/**' - '.github/**' - '.gitignore' @@ -19,7 +18,6 @@ on: - master paths-ignore: - 'ovos_plugin_manager/version.py' - - 'requirements/**' - 'examples/**' - '.github/**' - '.gitignore'