From cd6d7bd752287718d5c0a8c3906359e2d715b80a Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Fri, 22 Nov 2024 02:40:36 +0530 Subject: [PATCH] .github/workflows/unit_tests.yaml: run in path /teuthology_api This is because teuthology does not monkey patch threads if args have "teuthology_api"[1]. [1] https://github.com/ceph/teuthology/blob/029bda193b1d38b67b279eb5c1037caa8408be24/teuthology/__init__.py#L29 Signed-off-by: Vallari Agrawal --- .github/workflows/unit_tests.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index f0e1f1a..8b068c3 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -12,6 +12,8 @@ jobs: python: "3.10" steps: - uses: actions/checkout@v4 + with: + path: teuthology_api - name: Setup Python uses: actions/setup-python@v4 with: @@ -21,3 +23,4 @@ jobs: - name: Run tox # Run tox using the version of Python in `PATH` run: tox -e py + working-directory: teuthology_api