chore: Update python_test.yml to include splitCount and group arguments in make unit_tests command (#2709)

This commit is contained in:
Gabriel Luiz Freitas Almeida
2024-07-15 16:13:26 -03:00
committed by GitHub
parent c8d04af533
commit 4268ee4d56
5 changed files with 90 additions and 8 deletions

View File

@ -22,6 +22,8 @@ jobs:
- "3.12"
- "3.11"
- "3.10"
splitCount: [5]
group: [1, 2, 3, 4, 5]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
@ -41,7 +43,7 @@ jobs:
- name: Run unit tests
timeout-minutes: 12
run: |
make unit_tests
make unit_tests args="--splits ${{ matrix.splitCount }} --group ${{ matrix.group }}"
- name: Test CLI
run: |
poetry run python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &