nit
This commit is contained in:
parent
e2f66c7851
commit
d01ea4c242
12
.github/workflows/api-tests-on-uv.yml
vendored
12
.github/workflows/api-tests-on-uv.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: ./api
|
||||
# working-directory: ./api
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
@ -45,23 +45,23 @@ jobs:
|
||||
|
||||
- name: Check Poetry lockfile
|
||||
run: |
|
||||
uv lock --check
|
||||
uv lock --project api --check
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv sync --all-groups
|
||||
run: uv sync --project api --all-groups
|
||||
|
||||
# - name: Check dependencies in pyproject.toml
|
||||
# run: poetry run -P api bash dev/pytest/pytest_artifacts.sh
|
||||
|
||||
- name: Run Unit tests
|
||||
run: uv run bash ../dev/pytest/pytest_unit_tests.sh
|
||||
run: uv run --project api bash ../dev/pytest/pytest_unit_tests.sh
|
||||
|
||||
- name: Run dify config tests
|
||||
run: uv python dev/pytest/pytest_config_tests.py
|
||||
run: uv run --project api python dev/pytest/pytest_config_tests.py
|
||||
|
||||
- name: Run mypy
|
||||
run: |
|
||||
uv python -m mypy --install-types --non-interactive .
|
||||
uv run --project api python -m mypy --install-types --non-interactive .
|
||||
|
||||
- name: Set up dotenvs
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user