Created initial example

Este commit está contenido en:
Matthias Neeracher 2019-02-03 00:21:23 +01:00
padre 9843b42f80
commit 6fa550c0a3
Se han modificado 3 ficheros con 19 adiciones y 0 borrados

12
.drone.yml Archivo normal
Ver fichero

@ -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 Archivo normal
Ver fichero

7
test_good.py Archivo normal
Ver fichero

@ -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