mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-24 20:10:40 +00:00
rename test-requirements.txt
This commit is contained in:
parent
21ddb66f53
commit
5b58aeb5c7
@ -5,7 +5,7 @@ local PythonVersion(pyversion='2.7') = {
|
|||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'pip install -r test-requirements.txt -qq',
|
'pip install -r dev-requirements.txt -qq',
|
||||||
'pip install -qq .',
|
'pip install -qq .',
|
||||||
'pytest corenetworks --cov=corenetworks --no-cov-on-fail',
|
'pytest corenetworks --cov=corenetworks --no-cov-on-fail',
|
||||||
],
|
],
|
||||||
@ -29,7 +29,7 @@ local PipelineLint = {
|
|||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'pip install -r test-requirements.txt -qq',
|
'pip install -r dev-requirements.txt -qq',
|
||||||
'pip install -qq .',
|
'pip install -qq .',
|
||||||
'flake8 ./corenetworks',
|
'flake8 ./corenetworks',
|
||||||
],
|
],
|
||||||
@ -96,7 +96,7 @@ local PipelineSecurity = {
|
|||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
commands: [
|
commands: [
|
||||||
'pip install -r test-requirements.txt -qq',
|
'pip install -r dev-requirements.txt -qq',
|
||||||
'pip install -qq .',
|
'pip install -qq .',
|
||||||
'bandit -r ./corenetworks -x ./corenetworks/test',
|
'bandit -r ./corenetworks -x ./corenetworks/test',
|
||||||
],
|
],
|
||||||
|
16
.drone.yml
16
.drone.yml
@ -10,7 +10,7 @@ steps:
|
|||||||
- name: flake8
|
- name: flake8
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- flake8 ./corenetworks
|
- flake8 ./corenetworks
|
||||||
environment:
|
environment:
|
||||||
@ -34,7 +34,7 @@ steps:
|
|||||||
- name: python27
|
- name: python27
|
||||||
image: python:2.7
|
image: python:2.7
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
||||||
environment:
|
environment:
|
||||||
@ -45,7 +45,7 @@ steps:
|
|||||||
- name: python35
|
- name: python35
|
||||||
image: python:3.5
|
image: python:3.5
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
||||||
environment:
|
environment:
|
||||||
@ -56,7 +56,7 @@ steps:
|
|||||||
- name: python36
|
- name: python36
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
||||||
environment:
|
environment:
|
||||||
@ -67,7 +67,7 @@ steps:
|
|||||||
- name: python37
|
- name: python37
|
||||||
image: python:3.7
|
image: python:3.7
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
||||||
environment:
|
environment:
|
||||||
@ -78,7 +78,7 @@ steps:
|
|||||||
- name: python38
|
- name: python38
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
- pytest corenetworks --cov=corenetworks --no-cov-on-fail
|
||||||
environment:
|
environment:
|
||||||
@ -123,7 +123,7 @@ steps:
|
|||||||
- name: bandit
|
- name: bandit
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
commands:
|
commands:
|
||||||
- pip install -r test-requirements.txt -qq
|
- pip install -r dev-requirements.txt -qq
|
||||||
- pip install -qq .
|
- pip install -qq .
|
||||||
- bandit -r ./corenetworks -x ./corenetworks/test
|
- bandit -r ./corenetworks -x ./corenetworks/test
|
||||||
environment:
|
environment:
|
||||||
@ -306,6 +306,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: dd83d3ebb552aa3998d4868389b730635039fba3c34040c53c380bc6ff2587e4
|
hmac: 39dee08847508a70f012e80d78c1d2e79fd37f9307b8bca4a8aeaa2d59c68645
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -8,6 +8,7 @@ flake8-isort
|
|||||||
flake8-logging-format
|
flake8-logging-format
|
||||||
flake8-polyfill
|
flake8-polyfill
|
||||||
flake8-quotes
|
flake8-quotes
|
||||||
|
flake8-eradicate; python_version >= "3.6"
|
||||||
pep8-naming
|
pep8-naming
|
||||||
wheel
|
wheel
|
||||||
pytest
|
pytest
|
Loading…
Reference in New Issue
Block a user