Commit ae021884 authored by ∞'s avatar 💻

Merge branch 'ci' into 'master'

CI

See merge request !2
parents 6f3eb618 60962bb3
Pipeline #549 failed with stage
in 26 seconds
variables:
DJANGO_SETTINGS_MODULE: chp.django.example.settings
DEBUG: 1
#activate the following when we cleanup the code
#py-qa:
# stage: build
# image: yourlabs/python
# script: flake8 --show-source --max-complexity=8 --ignore=E305 chp
py-test:
stage: test
image: yourlabs/python
script:
- pip3 install django crudlfap
- pip3 install -e .
- py.test --cov chp
from chp.django.example.blog.forms import PostForm
def test_render():
assert PostForm().render() == 'fail'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment