This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit cf36b82 committed Jan 5, 2025 · 7 / 7
1 parent b91cad8 commit cf36b82 Copy full SHA for cf36b82
File tree 3 files changed +11
-13
lines changed
3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,23 @@ jobs:
42
42
run : poetry install -C api --with dev
43
43
44
44
- name : Check dependencies in pyproject.toml
45
- run : poetry run -C api bash dev/pytest/pytest_artifacts.sh
45
+ run : poetry run -P api bash dev/pytest/pytest_artifacts.sh
46
46
47
47
- name : Run Unit tests
48
- run : poetry run -C api bash dev/pytest/pytest_unit_tests.sh
48
+ run : poetry run -P api bash dev/pytest/pytest_unit_tests.sh
49
49
50
50
- name : Run ModelRuntime
51
- run : poetry run -C api bash dev/pytest/pytest_model_runtime.sh
51
+ run : poetry run -P api bash dev/pytest/pytest_model_runtime.sh
52
52
53
53
- name : Run dify config tests
54
- run : poetry run -C api python dev/pytest/pytest_config_tests.py
54
+ run : poetry run -P api python dev/pytest/pytest_config_tests.py
55
55
56
56
- name : Run Tool
57
- run : poetry run -C api bash dev/pytest/pytest_tools.sh
57
+ run : poetry run -P api bash dev/pytest/pytest_tools.sh
58
58
59
59
- name : Run mypy
60
60
run : |
61
- pushd api
62
- poetry run python -m mypy --install-types --non-interactive .
63
- popd
61
+ poetry run -C api python -m mypy --install-types --non-interactive .
64
62
65
63
- name : Set up dotenvs
66
64
run : |
80
78
ssrf_proxy
81
79
82
80
- name : Run Workflow
83
- run : poetry run -C api bash dev/pytest/pytest_workflow.sh
81
+ run : poetry run -P api bash dev/pytest/pytest_workflow.sh
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ jobs:
38
38
if : steps.changed-files.outputs.any_changed == 'true'
39
39
run : |
40
40
poetry run -C api ruff --version
41
- poetry run -C api ruff check ./api
42
- poetry run -C api ruff format --check ./api
41
+ poetry run -C api ruff check ./
42
+ poetry run -C api ruff format --check ./
43
43
44
44
- name : Dotenv check
45
45
if : steps.changed-files.outputs.any_changed == 'true'
46
- run : poetry run -C api dotenv-linter ./api/.env.example ./web/.env.example
46
+ run : poetry run -P api dotenv-linter ./api/.env.example ./web/.env.example
47
47
48
48
- name : Lint hints
49
49
if : failure()
Original file line number Diff line number Diff line change 70
70
tidb
71
71
72
72
- name : Test Vector Stores
73
- run : poetry run -C api bash dev/pytest/pytest_vdb.sh
73
+ run : poetry run -P api bash dev/pytest/pytest_vdb.sh
You can’t perform that action at this time.
0 commit comments