fix(drone): added pip install to load from cache
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-12-06 20:47:24 +01:00
parent 439020049f
commit 2b0c7e6696

View File

@@ -19,6 +19,7 @@ steps:
- name: Lint - pylint - name: Lint - pylint
image: python image: python
commands: commands:
- pip install -r requirements.txt
- pylint wsgi.py app/*.py - pylint wsgi.py app/*.py
volumes: volumes:
- name: pip_cache - name: pip_cache
@@ -27,6 +28,7 @@ steps:
- name: Lint - flake8 - name: Lint - flake8
image: python image: python
commands: commands:
- pip install -r requirements.txt
- flake8 wsgi.py app/*.py - flake8 wsgi.py app/*.py
volumes: volumes:
- name: pip_cache - name: pip_cache
@@ -35,6 +37,7 @@ steps:
- name: Security analysis with bandit - name: Security analysis with bandit
image: python image: python
commands: commands:
- pip install -r requirements.txt
- bandit -r app/ - bandit -r app/
volumes: volumes:
- name: pip_cache - name: pip_cache