diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef1f4e5b..c9a44953 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,7 +54,7 @@ jobs: path: .venv/prod key: test-venv-prod-${{ runner.os }}-${{ hashFiles('src/requirements-dev.txt', 'src/requirements-test.txt', 'src/requirements.txt', 'src/requirements-cpu.txt', 'src/requirements-accelerator-device.txt') }} - name: Run tests - run: sudo -H -E ./run.sh -vvvv --durations=0 --junitxml=./test.xml + run: sudo -H -E ./run.sh -vvvv --durations=0 --junitxml=./test.xml --maxfail=2 env: PROJECT_DATA: /tmp/project_data PROJECT_DISABLE_TUNNEL: 1 diff --git a/src/tests/test_utils/fixtures/clear_space.py b/src/tests/test_utils/fixtures/clear_space.py index b89fea16..0d996a83 100644 --- a/src/tests/test_utils/fixtures/clear_space.py +++ b/src/tests/test_utils/fixtures/clear_space.py @@ -2,7 +2,7 @@ import pytest -from ...utils.fs_utils import clear_dir +from ....utils.fs_utils import clear_dir @pytest.fixture(autouse=True)