From 172ff7e01112d7081167c84cf605656c4e3bddb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=9B=E8=82=AF=E6=99=AE=E9=80=9A?= Date: Fri, 5 Dec 2025 10:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E8=BF=9C=E7=A8=8B=E6=8B=89?= =?UTF-8?q?=E5=8F=96=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5331859..225d1b4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,7 @@ steps: # 自动检测是否存在 Java (pom.xml) - name: java-build image: maven:3.9-eclipse-temurin + pull: false commands: - if [ -f pom.xml ]; then mvn clean compile; fi when: @@ -18,6 +19,7 @@ steps: # 自动检测是否存在 Python (requirements.txt) - name: python-test image: python:3.12.0-slim + pull: false commands: - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if [ -f test_example.py ]; then python -m pytest test_example.py -v; fi @@ -27,6 +29,7 @@ steps: # 最终报告(无论成功失败都运行) - name: summary image: alpine + pull: false commands: - echo "✅ CI completed at $(date)" when: