Created initial example

This commit is contained in:
Matthias Neeracher 2019-02-03 00:21:23 +01:00
부모 9843b42f80
커밋 6fa550c0a3
3개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제

12
.drone.yml Normal file
파일 보기

@ -0,0 +1,12 @@
kind: pipeline
name: default
steps:
- name: test
image: python
commands:
- pip install -r requirements.txt
- pytest
trigger:
event:
- push

0
requirements.txt Normal file
파일 보기

7
test_good.py Normal file
파일 보기

@ -0,0 +1,7 @@
# Adapted from the test_sample.py example in the pytest documentation
def inc(x):
return x + 1
def test_answer():
assert inc(3) == 4