mirror of https://gitlab.com/litecord/litecord.git
ci: use tox
This commit is contained in:
parent
22f5af9887
commit
b7343e73ab
|
|
@ -14,14 +14,10 @@ cache:
|
||||||
tests:
|
tests:
|
||||||
before_script:
|
before_script:
|
||||||
- python -V
|
- python -V
|
||||||
- apk --update add --no-cache build-base gcc libgcc libffi-dev openssl-dev git postgresql-client jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev freetype-dev gifsicle
|
- time apk --update add --no-cache build-base gcc libgcc libffi-dev openssl-dev git postgresql-client jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev freetype-dev gifsicle
|
||||||
- pip3 install pipenv wheel tox
|
- time pip3 install poetry wheel tox
|
||||||
- pipenv install --dev
|
- time poetry install
|
||||||
script:
|
script:
|
||||||
- ls
|
- ls
|
||||||
- cp config.ci.py config.py
|
- cp config.ci.py config.py
|
||||||
- pipenv --venv
|
- time tox
|
||||||
- pipenv run ./manage.py migrate
|
|
||||||
- pipenv run black --check litecord run.py tests manage
|
|
||||||
- pipenv run flake8 litecord run.py tests manage
|
|
||||||
- pipenv run pytest tests
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue