@@ -147,18 +147,6 @@ jobs:
147147 run : |
148148 uv run --with requests --with dify_plugin python .scripts/uploader/upload-package.py -d "${{ matrix.plugin_path }}" -t "${{ secrets.MARKETPLACE_TOKEN }}" --plugin-daemon-path .scripts/dify -u "${{ secrets.MARKETPLACE_BASE_URL }}" -f --test
149149
150- - name : Validate Dependencies with uv
151- run : |
152- cd "${{ matrix.plugin_path }}"
153- uv sync --all-groups --python 3.12
154-
155- - name : Check Plugin Install
156- run : |
157- export INSTALL_METHOD=serverless
158- export SERVERLESS_PORT=8080
159- export SERVERLESS_HOST=0.0.0.0
160- uv run --project "${{ matrix.plugin_path }}" --with requests python .scripts/validator/test-plugin-install.py -d "${{ matrix.plugin_path }}"
161-
162150 - name : Package plugin
163151 run : |
164152 SAFE_NAME=$(echo "${{ matrix.plugin_path }}" | tr '/' '-')
@@ -175,6 +163,18 @@ jobs:
175163 echo "### Extracting package ###"
176164 unzip -q "$PKG_NAME" -d "$EXTRACT_DIR"
177165
166+ - name : Validate Dependencies with uv
167+ run : |
168+ cd "${{ matrix.plugin_path }}"
169+ uv sync --all-groups --python 3.12
170+
171+ - name : Check Plugin Install
172+ run : |
173+ export INSTALL_METHOD=serverless
174+ export SERVERLESS_PORT=8080
175+ export SERVERLESS_HOST=0.0.0.0
176+ uv run --project "${{ matrix.plugin_path }}" --with requests python .scripts/validator/test-plugin-install.py -d "${{ matrix.plugin_path }}"
177+
178178 - name : Check for tests directory
179179 id : check_tests
180180 run : |
0 commit comments