Skip to content

Commit

Permalink
force txi sequential in cuda ci
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Dec 15, 2024
1 parent e936705 commit 4289798
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test_cli_cuda_py_txi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ 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') ||
(github.event_name == 'workflow_dispatch') ||
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)"

0 comments on commit 4289798

Please sign in to comment.