mirror of https://gitlab.com/litecord/litecord.git
update gitlab-ci.yml and README
This commit is contained in:
parent
74c03f7dfa
commit
cde6bc8ed8
|
|
@ -20,5 +20,4 @@ tests:
|
||||||
- ls
|
- ls
|
||||||
- cp config.ci.py config.py
|
- cp config.ci.py config.py
|
||||||
- pipenv run ./manage.py migrate
|
- pipenv run ./manage.py migrate
|
||||||
- pipenv run ./manage.py setup_tests
|
|
||||||
- tox
|
- tox
|
||||||
|
|
|
||||||
|
|
@ -145,13 +145,7 @@ $ pipenv run ./manage.py migrate
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
|
|
||||||
Running tests involves creating dummy users with known passwords. Because of
|
|
||||||
this, you should never setup a testing environment in production.
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Setup any testing users:
|
|
||||||
$ pipenv run ./manage.py setup_tests
|
|
||||||
|
|
||||||
# Install tox:
|
# Install tox:
|
||||||
$ pip install tox
|
$ pip install tox
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue