提交 drone 文件 5
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
63241ab91a
commit
1155ac88bc
19
.drone.yml
19
.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
|
||||
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
|
Loading…
Reference in New Issue