mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 02:54:20 +00:00
24 lines
390 B
YAML
24 lines
390 B
YAML
stages:
|
|
- test
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- apt-get update
|
|
- apt-get install -y gettext
|
|
- pip install -r requirements.txt
|
|
- pip install coverage
|
|
- ./manage.py compilemessages
|
|
- coverage run ./manage.py test
|
|
- coverage html
|
|
- coverage report
|
|
artifacts:
|
|
paths:
|
|
- coverage_report/
|
|
|
|
black:
|
|
stage: test
|
|
script:
|
|
- pip install black
|
|
- black --check .
|