run test commands in virtualenv

This commit is contained in:
Robert Kaussow 2020-03-06 08:49:22 +01:00
parent e771ec5d4d
commit 964e25d46a
2 changed files with 23 additions and 23 deletions

View File

@ -6,8 +6,8 @@ local PythonVersion(pyversion='3.5') = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev',
'docker-tidy --help',
'pipenv install --dev --keep-outdated',
'pipenv run docker-tidy --help',
],
depends_on: [
'clone',
@ -30,8 +30,8 @@ local PipelineLint = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev',
'flake8 ./dockertidy',
'pipenv install --dev --keep-outdated',
'pipenv run flake8 ./dockertidy',
],
},
],
@ -56,9 +56,9 @@ local PipelineDeps = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev',
'pipenv install --dev --keep-outdated',
'pipenv check',
'pipenv-sync check',
'pipenv run pipenv-sync check',
],
},
],
@ -107,8 +107,8 @@ local PipelineSecurity = {
},
commands: [
'pip install pipenv -qq',
'pipenv install --dev',
'bandit -r ./dockertidy -x ./dockertidy/tests',
'pipenv install --dev --keep-outdated',
'pipenv run bandit -r ./dockertidy -x ./dockertidy/tests',
],
},
],

View File

@ -11,8 +11,8 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev
- flake8 ./dockertidy
- pipenv install --dev --keep-outdated
- pipenv run flake8 ./dockertidy
environment:
PY_COLORS: 1
@ -35,9 +35,9 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev
- pipenv install --dev --keep-outdated
- pipenv check
- pipenv-sync check
- pipenv run pipenv-sync check
environment:
PY_COLORS: 1
@ -63,8 +63,8 @@ steps:
image: python:3.5
commands:
- pip install pipenv -qq
- pipenv install --dev
- docker-tidy --help
- pipenv install --dev --keep-outdated
- pipenv run docker-tidy --help
environment:
PY_COLORS: 1
depends_on:
@ -74,8 +74,8 @@ steps:
image: python:3.6
commands:
- pip install pipenv -qq
- pipenv install --dev
- docker-tidy --help
- pipenv install --dev --keep-outdated
- pipenv run docker-tidy --help
environment:
PY_COLORS: 1
depends_on:
@ -85,8 +85,8 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev
- docker-tidy --help
- pipenv install --dev --keep-outdated
- pipenv run docker-tidy --help
environment:
PY_COLORS: 1
depends_on:
@ -96,8 +96,8 @@ steps:
image: python:3.8
commands:
- pip install pipenv -qq
- pipenv install --dev
- docker-tidy --help
- pipenv install --dev --keep-outdated
- pipenv run docker-tidy --help
environment:
PY_COLORS: 1
depends_on:
@ -125,8 +125,8 @@ steps:
image: python:3.7
commands:
- pip install pipenv -qq
- pipenv install --dev
- bandit -r ./dockertidy -x ./dockertidy/tests
- pipenv install --dev --keep-outdated
- pipenv run bandit -r ./dockertidy -x ./dockertidy/tests
environment:
PY_COLORS: 1
@ -486,6 +486,6 @@ depends_on:
---
kind: signature
hmac: 19f4fda6c951d44a90518e229013e8b031ed950b09e18d09b2c42087a44d7760
hmac: 2c54ff3a3dc90b117c73366e792c458510974061137d6aea3113e08ae9e81954
...