From a164f913dcebd993abd2164ba0c51758eebd1b95 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Tue, 25 Oct 2022 12:16:30 +0200 Subject: [PATCH] Fix client side test to avoid import errors --- .github/workflows/client-side.yml | 3 +-- tox.ini | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/client-side.yml b/.github/workflows/client-side.yml index 2c6e12de2..9faa785b5 100644 --- a/.github/workflows/client-side.yml +++ b/.github/workflows/client-side.yml @@ -30,7 +30,6 @@ jobs: virtualenvs-in-project: true installer-parallel: true - name: Install dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction - name: Run test scripts - run: poetry run pytest --tb=native -k test_optional_dependencies + run: poetry run pytest tests/test_optional_dependencies.py diff --git a/tox.ini b/tox.ini index 8bbf4160d..bd2768fe0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,7 @@ +# +# Tox script to test installation without optional dependencies +# + [tox] envlist = py10