Merge pull request 'Added Makefile for CI/CD' (#11) from cicd into master
Reviewed-on: #11
This commit was merged in pull request #11.
This commit is contained in:
10
Makefile
Normal file
10
Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
.PHONY: default help test
|
||||
|
||||
default: help
|
||||
|
||||
help:
|
||||
@echo "The make stuff is used by our CI/CD environment."
|
||||
|
||||
test:
|
||||
tox
|
||||
|
||||
12
tox.ini
12
tox.ini
@@ -1,16 +1,14 @@
|
||||
[tox]
|
||||
#envlist = py3-django3,py3-django2
|
||||
envlist = py3-django3
|
||||
envlist = django,django3
|
||||
|
||||
[testenv]
|
||||
deps = coverage
|
||||
py3-django2: django<3
|
||||
py3-django2: pylint-django
|
||||
py3-django3: django
|
||||
py3-django3: pylint-django
|
||||
django: django
|
||||
django3: django<4
|
||||
pylint-django
|
||||
pytest
|
||||
mock
|
||||
commands = coverage run -m pytest
|
||||
coverage report --skip-covered --fail-under=98
|
||||
pylint django_deploy
|
||||
pylint --fail-under=9 django_deploy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user