1
0
Derivar 0

Created initial example

Este cometimento está contido em:
Matthias Neeracher 2019-02-03 00:21:23 +01:00
ascendente 9843b42f80
cometimento 6fa550c0a3
3 ficheiros modificados com 19 adições e 0 eliminações

12
.drone.yml Ficheiro normal
Ver ficheiro

@ -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 Ficheiro normal
Ver ficheiro

7
test_good.py Ficheiro normal
Ver ficheiro

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