forked from jk_yinzy/cicd-test
添加 test_example.py
This commit is contained in:
parent
cc872b5b39
commit
7c1ce6bab6
6
test_example.py
Normal file
6
test_example.py
Normal file
@ -0,0 +1,6 @@
|
||||
def test_always_pass():
|
||||
assert True
|
||||
|
||||
def test_drone_env():
|
||||
import os
|
||||
assert 'DRONE' in os.environ # 验证是否在 Drone 环境中运行
|
||||
Loading…
x
Reference in New Issue
Block a user