Browse Source

drone - install requirements

Mariusz Kozakowski 3 years ago
parent
commit
fbf984016a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .drone.yml

+ 3 - 0
.drone.yml

@@ -9,16 +9,19 @@ pipeline:
9 9
     image: python:${PY_VERSION}
10 10
     commands:
11 11
       - pip install -qq pylint
12
+      - pip install -qq -r requirements.txt
12 13
       - find . -name "[^\.]*.py" | xargs pylint
13 14
 
14 15
   unittest:
15 16
     image: python:${PY_VERSION}
16 17
     commands:
18
+      - pip install -qq -r requirements.txt
17 19
       - find . -name "test_*.py" | xargs python
18 20
 
19 21
   coverage:
20 22
     image: python:${PY_VERSION}
21 23
     commands:
22 24
       - pip install -qq coverage
25
+      - pip install -qq -r requirements.txt
23 26
       - find . -name "test_*.py" | xargs coverage run
24 27
       - coverage report -m --fail-under=90