From bfde2666deb68cdca6e48d414fdd25c0114b8b3a Mon Sep 17 00:00:00 2001 From: lzwang Date: Sat, 3 Sep 2022 01:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95Python=20UT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 1 + python/hello.py | 4 +--- python/requirements.txt | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 06034d4..548b2d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,7 @@ steps: - python -V - pip install -r ./python/requirements.txt - python ./python/hello.py + - python ./python/test_demo.py - name: "CI失败 微信推送" diff --git a/python/hello.py b/python/hello.py index e2a0906..8cde782 100644 --- a/python/hello.py +++ b/python/hello.py @@ -1,3 +1 @@ -print('Hello World!') -print('Hello World!') -print('Hello World!') +print("hello world") diff --git a/python/requirements.txt b/python/requirements.txt index f229360..07afa8f 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1 +1,2 @@ -requests +pytest +loguru