This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
microtherion
/
drone-tutorial-python
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Created initial example
master
Matthias Neeracher
4 years ago
parent
9843b42f80
commit
6fa550c0a3
3 changed files
with
19 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
.drone.yml
+0
-0
requirements.txt
+7
-0
test_good.py
+ 12
- 0
.drone.yml
View 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
- 0
requirements.txt
View File
+ 7
- 0
test_good.py
View 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
Write
Preview
Loading…
Cancel
Save