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
commit 4268ee4d56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 &