diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5249739..1446544 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,17 +8,18 @@ stages: image: python:3 before_script: - python --version - - pip install --no-cache-dir -r requirements.txt lint-python: stage: lint extends: .python script: + - pip install --no-cache-dir -r requirements_lint.txt - flake8 *.py test-python: stage: test extends: .python script: + - pip install --no-cache-dir -r requirements.txt - ./keeper.py --version - pytest *.py diff --git a/requirements.txt b/requirements.txt index 6bf98b2..a377749 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -flake8 pytest pyyaml requests diff --git a/requirements_lint.txt b/requirements_lint.txt new file mode 100644 index 0000000..3930480 --- /dev/null +++ b/requirements_lint.txt @@ -0,0 +1 @@ +flake8