mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 02:05:11 +08:00
chore: Update python_test.yml to include splitCount and group arguments in make unit_tests command (#2709)
This commit is contained in:
committed by
GitHub
parent
c8d04af533
commit
4268ee4d56
4
.github/workflows/python_test.yml
vendored
4
.github/workflows/python_test.yml
vendored
@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user