From 4289798baed85ab17e76946c5d7c7b93f9a7916a Mon Sep 17 00:00:00 2001 From: IlyasMoutawwakil Date: Sun, 15 Dec 2024 18:11:02 +0100 Subject: [PATCH] force txi sequential in cuda ci --- .github/workflows/test_cli_cuda_py_txi.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_cli_cuda_py_txi.yaml b/.github/workflows/test_cli_cuda_py_txi.yaml index 5c090b28..b8c50db0 100644 --- a/.github/workflows/test_cli_cuda_py_txi.yaml +++ b/.github/workflows/test_cli_cuda_py_txi.yaml @@ -48,7 +48,8 @@ jobs: pip install -e .[testing,py-txi] git+https://github.com/IlyasMoutawwakil/py-txi.git - name: Run tests - run: pytest tests/test_cli.py -x -s -k "cli and cuda and py_txi" + run: | + FORCE_SEQUENTIAL=1 pytest tests/test_cli.py -x -s -k "cli and cuda and py_txi" - if: ${{ (github.event_name == 'push') || @@ -56,4 +57,5 @@ jobs: contains( github.event.pull_request.labels.*.name, 'examples') }} name: Run examples - run: pytest tests/test_examples.py -x -s -k "cli and cuda and (tgi or tei)" + run: | + FORCE_SEQUENTIAL=1 pytest tests/test_examples.py -x -s -k "cli and cuda and (tgi or tei)"