diff --git a/.drone.yml b/.drone.yml index 824a528..cd3abab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,8 +5,17 @@ # 代码拉取后会使用 python:3.7-alpine3.8 镜像来执行项目目录下的 a.py 文件 # 由于现在仓库中并不存在 a.py 文件所以第次的测试肯定是失败的 -pipeline: - run: - image: python:3.9.13-alpine3.15 - commands: - - python3 a.py \ No newline at end of file +kind: pipeline +type: docker +name: default + +platform: + os: linux + arch: amd64 + + +steps: +- name: run + image: python:3.9.13-alpine3.15 + commands: + - python3 test.py \ No newline at end of file