From 4737d5a2698f1fef00b6e6f7fb23964908bf2cd4 Mon Sep 17 00:00:00 2001 From: Chunlei Wu Date: Wed, 18 Dec 2024 16:48:40 -0500 Subject: [PATCH] build: :construction_worker: added a tmate debug session --- .github/workflows/run-tests-py36.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests-py36.yml b/.github/workflows/run-tests-py36.yml index 9ee6f2d..2266360 100644 --- a/.github/workflows/run-tests-py36.yml +++ b/.github/workflows/run-tests-py36.yml @@ -26,8 +26,14 @@ jobs: # Install dependencies manually as pyproject.toml is not supported in Python 3.6 # caching dependencies requires Python 3.8+, skipping it for Python 3.6 run: pip install httpx importlib-metadata pandas pytest pytest-asyncio - - run: pwd + - run: pwd; ls -l - name: Run Tests # since we cannot install packages directly from source in Py<3.7, we will use biothings_client # directly from the current working directory - run: pytest tests \ No newline at end of file + run: pytest tests + # Enable tmate debugging of the previous steps fail + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: ${{ failure() }} + with: + limit-access-to-actor: true